summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
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)