Run and terminate a prgram (Python under Windows)
Posted
by Fredrich
on Stack Overflow
See other posts from Stack Overflow
or by Fredrich
Published on 2010-05-06T08:05:56Z
Indexed on
2010/05/06
8:08 UTC
Read the original article
Hit count: 170
I'd like to create a small script to that basically does this: run program1.exe --> kill program1.exe after n seconds --> run program1.exe again. I know some basic Python and would read up on this, but I'm in a bit of a hurry and just need this to get done asap.
If someone has a script/idea or could help my out with just the syntax I need to open and kill the .exe file, please... I don't mind solutions in other languages either. I'm sorry if this is a bit "please write my code"-ish, that's not something I typically do.
© Stack Overflow or respective owner