need help to kill a process
elrondrules at gmail.com
elrondrules at gmail.com
Tue Feb 6 20:59:40 EST 2007
Hi
Am new to python and need your help!!
this is my code snip.
within my python script I have the following commands..
<snip>
import os
...
os.system ("cd /home; ./TestTool &")
os.system ("cd /usr/; sh run.sh load.xml &")
<snip>
I need to kill these 2 process after a particular job is done.. is
there any way to get the pids of these process and if so how do i
invoke the kill command through os.system..
or else is there anyother way to do this...
thanks
More information about the Python-list
mailing list