By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,107 Members | 1,607 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,107 IT Pros & Developers. It's quick & easy.

Set timeout and kill external windows program

P: n/a

I call an external windows program (.exe) from a
python script. Something like os.system('test.exe'). I
want to set a timeout for the external windows program
to return. If no results are produced by the external
windows program (test.ext) within this timeout limit,
I want to terminate the external windows program and
continue with the python script.

How do I set the timeout and terminiate the external
windows program from within the Python script?


__________________________________________________ __________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
Jun 12 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.