signal | |||||||
Type | message | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | card | ||||||
Summary | Sent to the current card when another process sends a kill signal to the application. | ||||||
Introduced | 1.0 | ||||||
Changes | Support for the signal message on OS X systems was added in version 2.0. | ||||||
OS | mac, linux | ||||||
Platforms | desktop, server | ||||||
Parameters |
| ||||||
Example |
| ||||||
Related | Command: kill Glossary: application, current card, message, process Control Structure: exit | ||||||
Security | process | ||||||
Description | Handle the signal message to perform cleanup before an external process causes the application to exit. The user can execute the Unix "kill" command to send a kill signal to the application. Other processes can use a Unix system call to send a kill signal. Only signal 1 (SIGUSR1) and signal 2 (SIGUSR2) are supported. Other signals sent to the application do not cause the signal message to be sent. |