soorajspadmanab...@gmail.com (Sooraj S) writes:

> Hi,
>
> My perl script internally calls some other scripts. The execution time
> of the script is 5 min. I dont want any user to stop or suspend the
> execution. ie I want my script to ignore the (ctrl+z) and (Ctlr+c)
>
> By adding the following line to my script i was able to prevent user
> from stopping my script using (Ctlr+c)
> $SIG{INT} = 'IGNORE';
>
> Is there any way to handle Ctlr+z ?
>

Does $SIG{TSTP} = 'IGNORE'; do the job?

-- 
Radek

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to