www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20572] New: spawnProcess to print process filename on error

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 puremagic.com
          Reporter: johnnymarler 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.)

--
Feb 08 2020