Getting return value of another script
Dylan Reinhardt
python at dylanreinhardt.com
Wed Mar 12 17:45:55 EST 2003
Hi all,
I'm trying to launch a shell script from Python, but I want to get the
actual output of the script, not just the shell's exit status. Unless I'm
missing something, it doesn't appear that os.exec* or os.spawn* return
anything but the exit status.
I'm running this with Python 2.1.3 on Gentoo Linux.
Thanks in advance for any tips,
Dylan
More information about the Python-list
mailing list