Howdi gurus :)
I'm trying to redirect my stdin/stdout/stderr when using Process.create_process. This far, I only get data through first when the file gets closed. I would much prefer to have them in a non-blocking fashion - any way to get this? (tried PROP_NONBLOCKING and set_nonblocking( read_cb, write_cb ) without success... )...
It should be enough just to set a read callback.
create_process(...fd->pipe()...); fd->set_read_callback(read_stuff); ...
void read_stuff(mixed dummy,string what) { ...what... }
pike-devel@lists.lysator.liu.se