Calling Exe from Python

M Abbas abbas4u at gmail.com
Wed May 2 06:48:19 EDT 2007


Hello Folks,

This is what i am required to do.
Call an executable from my python script, and when the executable is
fininshed running, i should continue with my python script.

I have tried "os.exec()" but it calls the executable and never returns
to the calling python script.
I tried "os.fork" it will start an independent process,
since logic of my program depends on the results of executable.

I am unable to figure, how to do it.
Hope you folks would help me.

~JinBaba




More information about the Python-list mailing list