It would be helpful if the ProcessException thrown by spawnProcess also included the process name. So instead of:
Failed to spawn new process (The system cannot find the file specified.)
This message would be more helpful:
Failed to spawn process 'SOMEPROGRAM' (The system cannot find the file specified.)
Comment #1 by dlang-bot — 2020-02-09T06:02:23Z
@marler8997 updated dlang/phobos pull request #7394 "Include filename when CreateProcess fails with file not found" fixing this issue:
- Include filename when CreateProcess fails with file not found
Fix issue 20572
https://github.com/dlang/phobos/pull/7394
Comment #2 by robert.schadek — 2024-12-01T16:36:19Z