diff options
author | Araq <rumpf_a@web.de> | 2011-05-22 22:05:52 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-05-22 22:05:52 +0200 |
commit | d0bfc3665fd0131dad516d2fcd7cfe73c3a6f122 (patch) | |
tree | c02f3c2eda7b31487db3bfd050a9e791af2feb84 | |
parent | d8c6e0ed924e844e9671c61434efc3f0e1269e73 (diff) | |
download | Nim-d0bfc3665fd0131dad516d2fcd7cfe73c3a6f122.tar.gz |
bugfix second attempt: osproc
-rwxr-xr-x | lib/pure/osproc.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 7981720d9..d74cf1fdc 100755 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -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]) |