Closed johndharrison closed 7 years ago
Thanks for reporting that! However, I'd rather fix it in C - I thought execve would use parent's environment if the argument was empty but it seems one needs to explicitly provide parent's environment. PR #26 should fix this issue.
All platforms pass the new test in #26 but please confirm that it solves your issue as well.
I have tested on Linux and MAC on an application that was previously failing without passing the parent environment via the environment argument. With the fixes in #26 the application is running with an empty environment argument.
Currently the default value for the environment passed with
spawn_process
isenvironment = character()
. Should this be changed toor
For example: