You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stdout not captured in process_read. Also stderr is not captured, if you adjust the example code to non-zero exit, e.g. handle <- spawn_process("/bin/ls -$") . In my opinion, this should capture in stderr:
ls: invalid option -- '$'
Try 'ls --help' for more information.
This was apparently introduced in version 0.8.3, as the same code with 0.8.2 works just fine.
Hi, thanks for reporting the problem. subprocess is now retired (archived on CRAN). I suggest using the processx package which is in active development and offers a much more thorough functionality.
Problem
stdout
not captured inprocess_read
. Alsostderr
is not captured, if you adjust the example code to non-zero exit, e.g.handle <- spawn_process("/bin/ls -$")
. In my opinion, this should capture instderr
:This was apparently introduced in version
0.8.3
, as the same code with0.8.2
works just fine.Reproduction
sessionInfo
Thanks for having a look!
The text was updated successfully, but these errors were encountered: