On 18 Jan, 07:32, John Nagle <[EMAIL PROTECTED]> wrote: > > "Processing" is useful, but it uses named pipes and sockets, > not ordinary pipes. Also, it has C code, so all the usual build > and version problems apply.
The pprocess module uses pickles over sockets, mostly because the asynchronous aspects of the communication only appear to work reliably with sockets. See here for the code: http://www.python.org/pypi/pprocess Unlike your approach, pprocess employs the fork system call. In another project of mine - jailtools - I use some of the pprocess functionality with the subprocess module: http://www.python.org/pypi/jailtools I seem to recall that a few things are necessary when dealing with subprocesses, especially those which employ the python executable: running in unbuffered mode is one of those things. Paul -- http://mail.python.org/mailman/listinfo/python-list