how to "spawn" an external cmd and catch its stdin,stdout,stderr
Andreas Rozek
Andreas.Rozek at RUS.Uni-Stuttgart.De
Thu Oct 21 11:59:53 EDT 1999
Hello,
> The closest to this would be os.popen() This doesn't allow you to trap
> stderr as far as I am aware.
Thanks, from the description, it looks as if that would fit partially,
at least - although (coming from Java) it's not what I was really loo-
king for, namely a replacement for "Runtime.getRuntime().exec(...)".
>
> This should work on Unix and Windows.
Yes, according to the library reference. I'll try that solution this
evening.
Thanks for your answer!
--
Andreas Rozek
Rechenzentrum Universitaet Stuttgart ****** ** ** *****
Kommunikationssysteme/BelWue-Entwicklung ** ** ** ** **
Allmandring 3a ** ** ** ** **
D-70550 Stuttgart ****** ** ** *****
*** ** ** **
Telefon: ++49 (711) 685-4514 ** ** ** ** **
Telefax: ++49 (711) 678-8363 ** ** ***** ******
E-Mail: Andreas.Rozek at RUS.Uni-Stuttgart.De
URL: http://WWW.Uni-Stuttgart.De/People/Rozek
More information about the Python-list
mailing list