search for: system_with_captur

Displaying 1 result from an estimated 1 matches for "system_with_captur".

Did you mean: system_with_capture
2019 Dec 15
1
system2 doesn't quote stdin on unix, unlike stdout, stderr & input and on Windows
..., and stderr are handled independently of the shell, so it also just works without the use of shQuote by the caller. Have people been relying on system2 not quoting the `stdin` argument, but quoting `stdout` and `stderr`? For what it's worth, neither R_runR in src/library/tools/R/check.R, nor .system_with_capture in src/library/tools/R/utils.R (the only callers of system2(..., stdin = ...)), nor their callers seem to be shQuote'ing the `stdin` argument. Nor the rare system2(..., stdin = ...) callers (or their callers) on CRAN seem to be quoting the `stdin` argument (I did find one exception [**]), it...