Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spawnProcess to print process filename on error #10406

Open
dlangBugzillaToGithub opened this issue Feb 9, 2020 · 1 comment
Open

spawnProcess to print process filename on error #10406

dlangBugzillaToGithub opened this issue Feb 9, 2020 · 1 comment
Labels
OS:Windows Issues Specific to Windows Severity:Enhancement

Comments

@dlangBugzillaToGithub
Copy link

johnnymarler (@marler8997) reported this on 2020-02-09T05:59:27Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=20572

Description

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.)
@dlangBugzillaToGithub
Copy link
Author

dlang-bot commented on 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

@LightBender LightBender removed the P4 label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS:Windows Issues Specific to Windows Severity:Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants