os.exec
jimmyth at my-dejanews.com
jimmyth at my-dejanews.com
Mon Apr 26 07:51:01 EDT 1999
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
More information about the Python-list
mailing list