os.system() or os.execv() w/stdout redirect and PID tracking
Michael Olivier
dmtech at iname.com
Fri May 7 13:40:02 EDT 1999
Rob Hooft wrote:
>
> There are two other modules that can help here:
>
> - subproc.py (available from ftp.python.org)
>
> - task.py (available from http://starship.python.net/crew/hooft/ )
>
> Subproc is a way to control a sub-process including its I/O streams
> (i.e. you can send commands to its input, and read its output)
>
> Task is a way to run an independent sub-process, being able to wait
> for it and/or to kill it on the fly (it can redirect stdin/out as
> well).
Rob --
Task is exactly what we need. This is great - saves us a bunch of
work. Thanks a lot.
--Michael
More information about the Python-list
mailing list