Target: Vista+ Problems: - CMD and Windows has different parameter quoting algo (and all of them sucks). - Not everything in `PATHEXT` can be run directly (need confirmation on whether `CreateProcess` can launch `.bat` directly or `cmd.exe` has to be used). - `inherits` is racy on Windows since the inheritable state is global, and we need to restore it afterwards. Probably a lock is the best way atm.
Target: Vista+
Problems:
PATHEXTcan be run directly (need confirmation on whetherCreateProcesscan launch.batdirectly orcmd.exehas to be used).inheritsis racy on Windows since the inheritable state is global, and we need to restore it afterwards. Probably a lock is the best way atm.