[Issue 20572] New: spawnProcess to print process filename on error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Feb 9 05:59:27 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20572
Issue ID: 20572
Summary: spawnProcess to print process filename on error
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: johnnymarler at gmail.com
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.)
--
More information about the Digitalmars-d-bugs
mailing list