Getting return value of another script

Grant Edwards grante at visi.com
Wed Mar 12 18:19:06 EST 2003


In article <mailman.1047509663.17178.python-list at python.org>, 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.
[...]

If you want both exit status and output, you probably want one
of the functions in the popen2 module or in the commands module.

-- 
Grant Edwards                   grante             Yow!  I have a VISION! It's
                                  at               a RANCID double-FISHWICH on
                               visi.com            an ENRICHED BUN!!




More information about the Python-list mailing list