Sunday, April 11, 2010

Re: [LINUX_Newbies] Killing Child Processes

 

Hi,
   Thanks for responding. I meant I want to write a python script to handle killing processes
   already open. So if I were running some app that spawns other processes I can use my
   python script and kill the running processes spawned by the parent process. I wrote
   a python script to do this but I was unsuccessful in killing all the sub processes.  
   I hope this is more clear. 

   Thanks

--- On Sun, 4/11/10, J <dreadpiratejeff@gmail.com> wrote:

From: J <dreadpiratejeff@gmail.com>
Subject: Re: [LINUX_Newbies] Killing Child Processes
To: LINUX_Newbies@yahoogroups.com
Date: Sunday, April 11, 2010, 6:15 PM

 

On Sat, Apr 10, 2010 at 11:14, wiz m <wiz_mci@yahoo. com> wrote:

> Does anyone know a proper way of killing all sub processes of a parent process and including the parent process using python? Have not been successful. Some processes die and others are still alive.

what do you mean by "using python"??

Do you mean killing parent/child processes that are started from

within a python program, or using python to kill something that's

already open?

[Non-text portions of this message have been removed]

__._,_.___
Recent Activity:
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
MARKETPLACE

Do More for Dogs Group. Connect with other dog owners who do more.


Welcome to Mom Connection! Share stories, news and more with moms like you.


Hobbies & Activities Zone: Find others who share your passions! Explore new interests.

.

__,_._,___

No comments:

Post a Comment