std.process: Fix spawnProcess in Windows GUI programs (issue #11180)
Merge pull request #1618 from CyberShadow/std-process-gui-spawnprocess

std.process: Fix spawnProcess in Windows GUI programs (issue #11180)