Q: how to "spawn" an external cmd and catch its stdin,stdout,stderr
Andreas Rozek
Andreas.Rozek at RUS.Uni-Stuttgart.De
Thu Oct 21 10:26:50 EDT 1999
Hello!
This might be a silly question - but I could not find an answer in the
Python FaQ - for that reason it might be worth asking:
is there any possibility to launch an external program (without repla-
cing the current process - i.e., no os.exec* call alone) and catch the
stdin, stderr and stdout IO streams (the latter also renders spawn and
fork together with exec* unusable)?
A platform-independent solution would be preferrable - however, it's
more important for me to get it for Windows 98!
Thanks in advance for your effort!
--
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
More information about the Python-list
mailing list