Revert "Don't pop up a command window on Windows"

This reverts commit 0ff231bc39662bf12e095dc8c705b19d99d72f7b.
Revert "Revert "Don't pop up a command window on Windows""

This reverts commit 40981700cd5b05d8bacfc170a72f39f28525a283.
Revert "Revert "Revert "Don't pop up a command window on Windows"""

This reverts commit 6458d65bba811afa7d21b285b3a127682d4a4e6f.