Bug 11180 – Launching a process from a Windows GUI process using std.process.spawnProcess always fails

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
Windows
Creation time
2013-10-05T23:40:00Z
Last change time
2014-02-11T15:41:39Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2013-10-05T23:40:09Z
std.process attempts to make the unset standard handles inheritable, which always fails and causes the exception "Failed to make stdin stream inheritable by child process". https://github.com/D-Programming-Language/phobos/pull/1618
Comment #1 by github-bugzilla — 2013-10-08T21:45:58Z
Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/24255bd0b7c8bc1da539bcd088a998a101062493 std.process: Fix spawnProcess in Windows GUI programs (issue #11180) https://github.com/D-Programming-Language/phobos/commit/e69f4dc793553d34ff7a849bf7439e007234dd93 Merge pull request #1618 from CyberShadow/std-process-gui-spawnprocess std.process: Fix spawnProcess in Windows GUI programs (issue #11180)