diff options
author | Araq <rumpf_a@web.de> | 2019-12-24 11:45:37 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-12-24 17:33:27 +0100 |
commit | 8f17a70fe1d8687cededdf3af2e876787617d17e (patch) | |
tree | 22fe2ee3a3da7c39ec66e44f675d727f54a13516 /lib/pure | |
parent | 9faf00598f72c0725cb44921294f125801405eb0 (diff) | |
download | Nim-8f17a70fe1d8687cededdf3af2e876787617d17e.tar.gz |
ported osproc.nim to ARC
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/osproc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 4bf13ceb9..973ddd47e 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -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 |