Name
signal
- signal
action siglist
[command
] Set the action to take when a Unix signal is received. The
siglist
parameter lists one or more signal names or numbers. Parameteraction
indicates the action to take, as described in the following:- default
Take system default action.
- ignore
Ignore the signal.
- error
Generate a catchable Tcl error.
- trap
Execute command indicated by
command
parameter.- get
Return current settings for the specified signals as a keyed list.
- set
Set signals from a keyed list in the format returned by get.
- block
Block signals from being received.
- unblock
Allow the specified signal to be received.
Get Tcl/Tk in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.