diff options
author | Araq <rumpf_a@web.de> | 2011-01-07 21:08:10 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-01-07 21:08:10 +0100 |
commit | 8c799da867e1a6b8af48d9ef3ddef281471bd393 (patch) | |
tree | 4b309c95862dc3e4d2ac6f40f8185d24b00e3a58 /lib | |
parent | 37741f28fdae14201fb6c087ae93eb9ba2586823 (diff) | |
download | Nim-8c799da867e1a6b8af48d9ef3ddef281471bd393.tar.gz |
bugfix: osproc compiles under windows again
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/pure/osproc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 082851a81..e13f508b6 100755 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -319,7 +319,7 @@ when defined(Windows) and not defined(useNimRtl): result.errorHandle = si.hStdError var cmdl: cstring - if false: # poUseShell in options: + when false: # poUseShell in options: cmdl = buildCommandLine(getEnv("COMSPEC"), @["/c", command] & args) else: cmdl = buildCommandLine(command, args) |