parent
d5c014e59b
commit
b56432bd8a
2 changed files with 18 additions and 17 deletions
|
|
@ -626,8 +626,11 @@ when defined(Windows) and not defined(useNimRtl):
|
|||
success = winlean.createProcessW(nil, tmp, nil, nil, 1, flags,
|
||||
ee, wwd, si, procInfo)
|
||||
else:
|
||||
var ee =
|
||||
if e.str.isNil: cstring(nil)
|
||||
else: cstring(e.str)
|
||||
success = winlean.createProcessA(nil,
|
||||
cmdl, nil, nil, 1, NORMAL_PRIORITY_CLASS, e, wd, si, procInfo)
|
||||
cmdl, nil, nil, 1, NORMAL_PRIORITY_CLASS, ee, wd, si, procInfo)
|
||||
let lastError = osLastError()
|
||||
|
||||
if poParentStreams notin options:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue