|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re^2: Killing the child process is not workingby srlbharu (Acolyte) |
| on Mar 20, 2013 at 08:02 UTC ( #1024469=note: print w/ replies, xml ) | Need Help?? |
|
Yes I agree, But I know only one way to create the child to run it parallel to parent in perl 5.6 using fork Trying to upgrade the perl version leads to lot of compatibility issues so that I stopped my trails to upgrade Here I am getting the error: "Attemt to free uneferenced scalar" with perl 5.6 while exiting the child process and then terminating the parent process also. Hence I keep the child in infinite loop and once the parent is going to be completed I want to kill the child by sending signal like CTRL+C I tried the ways like die, exit, Win32::Process::Killprocess and kill 9,$pid; to kill the child no use
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||