From: jimmyth at my-dejanews.com (jimmyth at my-dejanews.com)
Date: Mon, 26 Apr 1999 11:51:01 GMT
Subject: os.exec
Message-ID: <7g1jv4$5eh$1@nnrp1.dejanews.com>
X-UID: 680                                                  

Is there a way to send the output from a python-spawned external program
straight to the script without having to deal with the OS's piping and such?
I want to be able to say:

bob = get_output_from(os.execv('runme.exe', ('parm1', 'parm2')))

or something to that effect.

Thanks,

Jimmy

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    




