process_signal
Send OS signals to a process by name or number to terminate, interrupt, or manage execution. Supports many signals; for PTY processes, only SIGTERM, SIGKILL, and Ctrl+C are allowed.
Instructions
Send a signal to a process by name or number. Available signals: SIGABRT, SIGALRM, SIGBUS, SIGCHLD, SIGCLD, SIGCONT, SIGFPE, SIGHUP, SIGILL, SIGINT, SIGIO, SIGIOT, SIGKILL, SIGPIPE, SIGPOLL, SIGPROF, SIGPWR, SIGQUIT, SIGRTMAX, SIGRTMIN, SIGSEGV, SIGSTKFLT, SIGSTOP, SIGSYS, SIGTERM, SIGTRAP, SIGTSTP, SIGTTIN, SIGTTOU, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM, SIGWINCH, SIGXCPU, SIGXFSZ. For PTY processes only SIGTERM -> terminate, SIGKILL -> kill, and CTRL_C_EVENT -> Ctrl+C are supported; other signals are rejected with an error. For a graceful interrupt use process_write: send and a carriage return as two separate writes(split delivery).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Internal process ID. | |
| signal | Yes | OS signal name (e.g., SIGTERM, SIGKILL, SIGINT) or signal number. PTY processes support SIGTERM, SIGKILL and CTRL_C_EVENT only; signal numbers in the help text refer to pipe mode. |