summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-01-07 21:08:10 +0100
committerAraq <rumpf_a@web.de>2011-01-07 21:08:10 +0100
commit8c799da867e1a6b8af48d9ef3ddef281471bd393 (patch)
tree4b309c95862dc3e4d2ac6f40f8185d24b00e3a58 /lib
parent37741f28fdae14201fb6c087ae93eb9ba2586823 (diff)
downloadNim-8c799da867e1a6b8af48d9ef3ddef281471bd393.tar.gz
bugfix: osproc compiles under windows again
Diffstat (limited to 'lib')
-rwxr-xr-xlib/pure/osproc.nim2
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)