Skip to content

Commit

Permalink
osproc: fixes regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Araq committed Dec 24, 2019
1 parent 5aa7b1a commit 3516947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/osproc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3516947

Please sign in to comment.