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

ps_interrupt(p, ctrl_c = TRUE)

Arguments

p

Process handle.

ctrl_c

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

See also