bugfix second attempt: osproc
This commit is contained in:
parent
d8c6e0ed92
commit
d0bfc3665f
1 changed files with 1 additions and 0 deletions
|
|
@ -514,6 +514,7 @@ elif not defined(useNimRtl):
|
|||
result.outputHandle = p_stdout[readIdx]
|
||||
if poStdErrToStdOut in options:
|
||||
result.errorHandle = result.outputHandle
|
||||
discard close(p_stderr[readIdx])
|
||||
else:
|
||||
result.errorHandle = p_stderr[readIdx]
|
||||
discard close(p_stderr[writeIdx])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue