[EMAIL PROTECTED] schrieb:
[...]
So if I do wind up having to write this thing myself, I've been
checking the docs on process creation, and have a couple questions if
anyone can fill me in. It looks like the os.spawn* commands can start
nonblocking sub-processes, but there doesn't seem to be a way to get
stdout and stderr. On the other hand, the popen commands make it easy
to trap stdout and stderr, but I guess I'd have to do the thread setup
and spawning myself. Is there another alternative that I'm missing
here? [...]

Yes, you are missing the subprocess module which was introduced in Python 2.4: http://docs.python.org/lib/module-subprocess.html


Bye,
Dennis
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to