On Jun 21, 10:41 am, shanti bhushan ershantibhus...@gmail.com wrote:
Hi,
I want to invoke local wen server named mogoose, and kill it after
some time by python script.
Then i want to change the argument and invoke it again.
I am able to do this with below code.
import subprocess
import
There's no need to use taskill.exe;
keep a reference of the subprocess.Popen() object around and use its
kill() method instead.
--- Giampaolo
http://code.google.com/p/pyftpdlib
http://code.google.com/p/psutil
2010/6/21 shanti bhushan ershantibhus...@gmail.com:
On Jun 21, 10:41 am, shanti
Hi,
I want to invoke local wen server named mogoose, and kill it after
some time by python script.
Then i want to change the argument and invoke it again.
I am able to do this with below code.
import subprocess
import time
def invoke_server1():