r-lib / processx

Execute and Control Subprocesses from R
https://processx.r-lib.org/
Other
234 stars 43 forks source link

Avoid working directory race condition #303

Closed gaborcsardi closed 3 years ago

gaborcsardi commented 3 years ago

Closes #300.

gaborcsardi commented 3 years ago

Interestingly, if the CWD does not exist, then getwd() will return NULL, so we still need to handle this case in the C code.