diff options
author | Araq <rumpf_a@web.de> | 2019-12-24 13:01:11 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-12-24 17:33:27 +0100 |
commit | 3516947642b57326e009a4f14c892978aa690387 (patch) | |
tree | 83949e6c76c402a23a1ac264f575135e31b05f52 /lib/pure | |
parent | 5aa7b1a44b869303e09e0ab0df6a63c2171a1806 (diff) | |
download | Nim-3516947642b57326e009a4f14c892978aa690387.tar.gz |
osproc: fixes regression
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 973ddd47e..aa4eb187b 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: newWideCString(nil) + if e.str.isNil: newWideCString(cstring(nil)) else: newWideCString(e.str, e.len) var wwd = newWideCString(wd) var flags = NORMAL_PRIORITY_CLASS or CREATE_UNICODE_ENVIRONMENT |