Process is not created by fork, I am using, Proc::Background to create process, which uses, either, Win32::Process for windows, It is transparent to me, whether i run on linux or windows.
The kind of application what we are developing needs both windows and linux support. Why I need to kill explicitly the child processes? ------------------------------------------------- Some system process, like, ping, tcpdump etc. if started by a parent perl process, when the parent is killed, they are not getting killed. Note when i call Proc::Background and start a process, it gives me that process id. My problem is along with this process, all the process started by it need to be killed. Could any body please help me on this. I am struct with this? Thanks a lot in advance Sharan hiremath. "Felix Geerinckx" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > on Sat, 27 Apr 2002 13:20:47 GMT, Sharan wrote: > > > Is there any generic way to find the list of child ids? (common to > > windows and Linux). Because, i want to kill explicitly all the child > > procs before terminating parent. > > If you fork, you return the child's pid to the parent. > > See > perldoc -f fork > perldoc -f kill > > -- > felix -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]