Run the command taskkill /f /pid on Windows and kill on
Unix, respectively, to kill a process.
proc_kill(pid, recursive = TRUE, ...)The process ID.
Whether to kill the child processes of the process.
Arguments to be passed to system2() to run the
command to kill the process.
The status code returned from system2().