kill | |||||||||||||
Type | command | ||||||||||||
Dictionary | LCS | ||||||||||||
Library | LiveCode Script | ||||||||||||
Syntax |
| ||||||||||||
Summary | Signals or quits another process or application on the same system. | ||||||||||||
Introduced | 1.0 | ||||||||||||
OS | mac, windows, linux | ||||||||||||
Platforms | desktop, server | ||||||||||||
Parameters |
| ||||||||||||
Example |
| ||||||||||||
Related | Keyword: file Message: signal Command: open process, quit, close process, launch Function: openProcessIDs, sysError, files, processID, openProcesses Control Structure: exit Glossary: Unix, Apple Event, command, process | ||||||||||||
Security | process | ||||||||||||
Description | Use the kill command to send a signal to a process (on Unixsystems), or to terminate a process with extreme prejudice. On Mac OS systems, the kill command sends a "Quit Application" Apple event to the specified application. On Unix systems, the kill command sends the specified signal to the process. If no signal is specified, the kill command sends SIGTERM. Check the Unix documentation for information about available signals. The file /usr/include/sys/signal.h lists signals and their corresponding signal numbers. If possible, use the close process command instead of the kill command to terminate a process. The kill command causes an immediate exit, and may prevent the process from removing temporary files or doing other cleanup tasks. |