Terminate a python script from linux shell / bash script
Gros Bedo
gros_bedo at hotmail.com
Thu Jul 10 11:07:44 EDT 2008
>>That's not how it works. If you kill one running python script it will not
>>effect other python scripts. Each script has its own interpreter process
>>running.
>GB> So, is there a way from the Linux shell or a bash script to terminate
>GB> just one specific Python script ?
>>So just kill it.
Yes I've seen that each python script calls its own instance of Python. But how to know which is the good one in bash ? Is there a command that gets the parameters of process, so I could use grep to select the one containing the name of my script ?
_________________________________________________________________
Votre contact a choisi Hotmail, l'e-mail nouvelle génération. Créez un compte.
http://www.windowslive.fr/hotmail/default.asp
More information about the Python-list
mailing list