Re: psexec and os.popen help

2006-01-08 Thread Volker Grabsch
[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

Re: psexec and os.popen help

2006-01-06 Thread [EMAIL PROTECTED]
popen3 did the trick. Thanks Jeff Gercken -- http://mail.python.org/mailman/listinfo/python-list

psexec and os.popen help

2006-01-06 Thread dennis . scales
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