Error getting tags :
error 404Error getting tags :
error 404 signal | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
signal
Basics
Expander triangle
Type
Message
Syntax
signal sigNumber
See Also
Introduced
1.0
Changed
2.0
Environment
Desktop, Web and Server
Platform Support
Mac OS X,Linux
Security
Process
Summary
Sent to the current card when another process sends a kill signal to the application.
Examples

on signal -- let the user know:
answer warning "Ack! I've been killed by another application!"
end signal

Additional Comments
Expander triangle

Handle the signal message to perform cleanup before an external process causes the application to exit.

Parameters:

The sigNumber is the number of the Unix kill signal (1 for SIGUSR1, 2 for SIGUSR2) that was sent to the application.

Comments:

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.

Changes to Revolution:

Support for the signal message on OS X systems was added in version 2.0.

User Comments
Expander triangle