/ Signal

Signal is used to send signals to processes, or setup handlers for receiving signals. It is currently only supported on unix.

The following signal commands are available:

alarm(secs)Setup alarm in seconds
callback(func,sig)Setup callback handler for signal
default(?sig,sig,...?)Set named signals to default action
handle(?sig,sig,...?)Set named signals to handle action
ignore(?sig,sig,...?)Set named signals to ignore action
kill(pid?,sig?)Send signal to process id (default SIGTERM)
names()Return names of all signals