Re: [Rd] system2 doesn't quote stdin on unix, unlike stdout, stderr & input and on Windows

2019-12-17 Thread Tomas Kalibera
Thank you for the report, I agree that system2() should quote stdin. It will be a change in behavior that is observable, but not documented (so users/programs should not depend on it) and in addition seems to be a bug. I'll still test on CRAN+BIOC packages, together with your patches for PR1767

[Rd] system2 doesn't quote stdin on unix, unlike stdout, stderr & input and on Windows

2019-12-15 Thread Ivan Krylov
Hi again! While investigating the bug report [*] I found out that on unix, system2 does not quote its `stdin` argument while preparing the command line to launch. It does shQuote the `stdout` and `stderr` arguments, and also the `f <- tmpfile()` variable (which is used if `input` argument is prov