ported osproc.nim to ARC

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

View File

@@ -617,7 +617,7 @@ when defined(Windows) and not defined(useNimRtl):
when useWinUnicode:
var tmp = newWideCString(cmdl)
var ee =
if e.str.isNil: nil
if e.str.isNil: newWideCString(nil)
else: newWideCString(e.str, e.len)
var wwd = newWideCString(wd)
var flags = NORMAL_PRIORITY_CLASS or CREATE_UNICODE_ENVIRONMENT