os.system stdout redirection...
tgray at cox-internet.com
Sun Aug 17 08:01:41 CEST 2003
Using Python 2.2 in Debian linuxI am trying to change to a different
directory, execute a 'make all' command, and redirect the output of the
subshell to a PyQt window... I should be able to execute the
os.system('cd newdirectory; make all'), but how do I redirect stdout of
the new subshell created by the os.system call?
Any help would be appreciated.
More information about the Python-list