Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: # Context On Windows, process creation was consistently failing with the following error: ``` class std::system_error: CreateProcess("C:\tools\eden\libexec\edenfsctl.exe" "--etc-eden-dir" "C:\ProgramData\facebook\eden" "redirect" "fixup" "--mount" "C:\open\fbsource") failed with err code: 87 ``` Where error code 87 means "The parameters are incorrect" It was unclear why this was happening. After hours of debugging, I've found that you can fix the problem by setting the stdin, stderr, and stdout of the subprocess to null. Something must be wrong with the way we handle inherriting default values for stdin/stderr, but the root cause is not entirely clear. While I still don't fully understand the reason CreateProcess fails, it feels like this fix is safe enough to deploy for now. # This diff Now that we've diagnosed the issue, we can remove the extra logging that was added. Reviewed By: kmancini Differential Revision: D59783278 fbshipit-source-id: 8af3dd8ff5f9ad618e7f1508c74d978f478e1681
- Loading branch information