bugfix: osproc compiles under windows again
This commit is contained in:
parent
37741f28fd
commit
8c799da867
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue