ported osproc.nim to ARC

This commit is contained in:
Araq 2019-12-24 11:45:37 +01:00 • committed by Andreas Rumpf
commit 8f17a70fe1

View file

@ -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: nil if e.str.isNil: newWideCString(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