471,356 Members | 1,688 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,356 software developers and data experts.

Set timeout and kill external windows program

Hi,

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?

Thanks.
Suganthan.

__________________________________________________ __________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433
Jun 12 '07 #1
0 1516

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Jacek Popławski | last post: by
2 posts views Thread by iapain | last post: by
22 posts views Thread by Nick Craig-Wood | last post: by
2 posts views Thread by Steve | last post: by
6 posts views Thread by Andreas Tawn | last post: by
2 posts views Thread by uzers | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.