[EMAIL PROTECTED] wrote:
> popen3 did the trick.
Use the modules "subprocess" ... it solves many problems, including
the problem of too many similar functions. :-)
These functions (execl, execv, popen, popen2, popen3, ...) are relicts
from C and very unpythonic. It's IMHO always a better program
popen3 did the trick.
Thanks Jeff Gercken
--
http://mail.python.org/mailman/listinfo/python-list
I'm trying to wrap a psexec command in a python script so I can capture
the results and generate an exception report. The problem I'm having is
that when I use x = os.popen("command") to do it, it runs, but the
content of x is empty. I know there should be output sent to it,
because when I run the