SIGTERM signal to the process. Not implemented on Windows.
Checks if the process is still running, to work around pid reuse.
Other process handle functions:
px <- processx::process$new("sleep", "10") p <- ps_handle(px$get_pid()) p ps_terminate(p) p ps_is_running(p) px$get_exit_status()