Skip to content

Sends SIGINT on POSIX, and 'CTRL+C' or 'CTRL+BREAK' on Windows.

Usage

ps_interrupt(p = ps_handle(), ctrl_c = TRUE)

Arguments

p

Process handle or a list of process handles.

ctrl_c

On Windows, whether to send 'CTRL+C'. If FALSE, then 'CTRL+BREAK' is sent. Ignored on non-Windows platforms.