Commit 3b4842d3 authored by Michael Snoyman's avatar Michael Snoyman
Browse files

Fix for GHC Trac 3649, comment 10

parent fa259800
......@@ -200,7 +200,9 @@ runInteractiveProcess (char *const args[],
}
// XXX Not the pipe
for (i = 3; i < max_fd; i++) {
close(i);
if (i != forkCommunicationFds[1]) {
close(i);
}
}
}
......
# Changelog for [`process` package](http://hackage.haskell.org/package/process)
## Unreleased
* [Meaningful error message when exe not found on close\_fds is
True](https://ghc.haskell.org/trac/ghc/ticket/3649#comment:10)
## 1.2.2.0 *Jan 2015*
* Fix delegated CTRL-C handling in `createProcess` in case of failed
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment