In <[EMAIL PROTECTED]>, M Abbas wrote:

> 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.

Take a look at `os.system()` or the `subprocess` module.

Ciao,
        Marc 'BlackJack' Rintsch
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to