processx
processx copied to clipboard
Execute and Control Subprocesses from R
We would need a callback that is called when the process finishes....
http://stackoverflow.com/a/36945270/604364
I'm using processx to run several long-lived (i.e. weeks or months) processes on Windows 10, including capturing their output. After a while, child processes end up in a state where...
Recommended package is not available on all installations
Create some output with non-ASCII characters, e.g. this on German or Fresh Windows: ```r res [1] "5d4\",\"Es wurde ein Hypervisor erkannt. Features, die f\u0081r Hyper-V erforderlich sind, werden nicht ange"...
``` ❯ processx::run("false") Error in `processx::run("false")`: ! System command 'false' failed --- Exit status: 1 Stderr: --- Type .Last.error to see the more details. ❯ .Last.error$call [1] "processx::run(\"false\")" ``` So...