osproc: fixes regression
This commit is contained in:
parent
5aa7b1a44b
commit
3516947642
1 changed files with 1 additions and 1 deletions
|
|
@ -617,7 +617,7 @@ when defined(Windows) and not defined(useNimRtl):
|
||||||
when useWinUnicode:
|
when useWinUnicode:
|
||||||
var tmp = newWideCString(cmdl)
|
var tmp = newWideCString(cmdl)
|
||||||
var ee =
|
var ee =
|
||||||
if e.str.isNil: newWideCString(nil)
|
if e.str.isNil: newWideCString(cstring(nil))
|
||||||
else: newWideCString(e.str, e.len)
|
else: newWideCString(e.str, e.len)
|
||||||
var wwd = newWideCString(wd)
|
var wwd = newWideCString(wd)
|
||||||
var flags = NORMAL_PRIORITY_CLASS or CREATE_UNICODE_ENVIRONMENT
|
var flags = NORMAL_PRIORITY_CLASS or CREATE_UNICODE_ENVIRONMENT
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue