Does anyone know if it's possible to monitor the events that happen on the output stream of a piped process ?

I'm stuck on doc:

- https://www.win.tue.nl/~aeb/linux/lk/lk-12.html
- http://www.ibm.com/developerworks/library/l-ubuntu-inotify/
- http://linux.die.net/man/2/inotify_add_watch

inotify_add_watch second argument seems to be a file name. The only thing available is a std.stdio.File with a handle.

The goal is to create an asynchronous process with a least one notification that would happen when the process terminates, maybe when the output stream is written too.

Reply via email to