www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14408] New: std.process: Can't start interactive process from


          Issue ID: 14408
           Summary: std.process: Can't start interactive process from
                    Windows GUI application
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Phobos
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com

If a Windows GUI application (dmd -L/SUBSYSTEM:WINDOWS) tries to spawn cmd.exe,
bash.exe etc., the latter will exit immediately. This is because it is created
with the GUI application's standard input/output streams, which will be
invalid, and cmd/bash will immediately encounter an EOF or read error and exit.

Apr 04 2015