Getting return value of another script (resolved)
python at dylanreinhardt.com
Thu Mar 13 00:09:35 CET 2003
It's a proven fact... nothing helps you find the documentation you're
looking for than admitting to a list that you can't find it.
Just after I posted this question, I found popen3, which is exactly what I
was looking for.
At 02:45 PM 3/12/2003, Dylan Reinhardt wrote:
>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,
More information about the Python-list