Hi Monks,
My code is like this
$pid=fork();
exec("notepad");
$SIG{INT}=\&handler;
sub handler
{
kill 1,$pid;
}
when i execute this code,it will open the notepad.What i want is if i am pressing CTRL+C, in the signal handler,it should close the notepad application.
Can anyone help me out????Thanks in advance