[PLUG] Bash 'trap' command doesnt execute on SIGUSR1

Manas Alekar manas_alekar at yahoo.com
Mon Feb 7 12:01:44 PST 2011

> In the following bash code snippet; my main aim is to throw a string  
>'Unhandled exception occurred' using trap command.

Trap is a mechanism for signal handling. You cannot do exception handling with 
trap.  Reading: man 7 signal.


More information about the plug-mail mailing list