<?xml version="1.0" encoding="windows-1252"?>
<node id="991256" title="Interrupt Handling" created="2012-09-02 06:03:48" updated="2012-09-02 06:03:48">
<type id="115">
perlquestion</type>
<author id="940339">
anshumangoyal</author>
<data>
<field name="doctext">
I have a number of scripts which are controlled by a main script (Main.pl). Main Script Forks a process to run other scripts in different process and manages this process.

While sending interrupt, i have written a interrupt handler in Main.pl. This handler prints "Wait I am killing".

Now when I pass on an interrupt to my main program (while it is running another childs), this message is not printed once but many times (at-least the number of times the number of processes are running.

Cannot understand why it is doing so.</field>
</data>
</node>
