Description Usage Arguments Details Value Examples
Utility functions for the daemon
1 2 3 | interruptProcess(pids)
isProcessAlive(pids)
|
pids |
integer(n), the process IDs |
'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
'interruptProcess': invisible()
'isProcessAlive': logical(1)
1 2 3 4 5 6 | ## interrupt a process by the PID
## Not run:
interruptProcess(pids = 1234L)
## End(Not run)
isProcessAlive(1234L)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.