interruptProcess: Utility functions for the daemon
Description
Utility functions for the daemon
Usage
interruptProcess(pids)
isProcessAlive(pids)
Arguments
pids
integer(n), the process IDs
Value
`interruptProcess`: invisible()
`isProcessAlive`: logical(1)
Details
`interruptProcess`: send SIGINT signal to the other process.
The implementation for Windows is tricky and therefore
it is only recommended to run this function in the daemon.
`isProcessAlive`: check whether a process is running