Re: Set timeout and kill external windows

2007-06-19 Thread gagsl-py2
At Saturday 16/06/2007 02:24, you wrote: > Thanks for your reply. I am new to Python and I cannot > seem to figure this out. I searched for examples based > on your recommendation below but couldn't do it. I am > not familiar with subprocess and WaitForSingleObject. > And I want to do this in Win

Re: Set timeout and kill external windows program

2007-06-11 Thread Gabriel Genellina
En Tue, 12 Jun 2007 00:32:12 -0300, Chico Jayanthan <[EMAIL PROTECTED]> escribió: > 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 ex

Set timeout and kill external windows program

2007-06-11 Thread Chico Jayanthan
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 ex