Bug 14408 – std.process: Can't start interactive process from Windows GUI application
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2015-04-05T05:17:00Z
Last change time
2017-07-19T17:42:58Z
Assigned to
nobody
Creator
dlang-bugzilla
Comments
Comment #0 by dlang-bugzilla — 2015-04-05T05:17:18Z
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.
Comment #1 by github-bugzilla — 2015-04-09T18:13:08Z