Re: [GHC] #431: runInteractiveProcess and closed stdin.
#431: runInteractiveProcess and closed stdin. -------------------------------------+------------------------------------- Reporter: nobody | Owner: Type: bug | Status: closed Priority: low | Milestone: ⊥ Component: | Version: 6.4 libraries/process | Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: #5761 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * related: => #5761 Comment: For reference, this was fixed in the following commits. https://github.com/haskell/process/commit/4a804c27f2c1a1d2f331006e32229c4375...: {{{ Author: simonmar <unknown> Date: Mon Aug 1 13:23:22 2005 +0000 [project @ 2005-08-01 13:23:22 by simonmar] Fix [ ghc-Bugs-1249226 ] runInteractiveProcess and closed stdin. }}} https://github.com/haskell/process/commit/9c553822abd15de9c1543820b8d9f070b0...: {{{ Author: Simon Marlow <simonmar@microsoft.com> Date: Fri May 23 10:07:40 2008 +0000 Overhall System.Process - fix #1780: pipes created by runInteractiveProcess are set close-on-exec by default - add a new, more general, form of process creation: createProcess Each of stdin, stdout and stderr may individually be taken from existing Handles or attached to new pipes. Also it has a nicer API (as discussed on libraries@haskell.org). - add readProcess / readProcessWithExitCode, originally from Don Stewart's newpopen package. These functions behave like C's popen(). - Move System.Cmd.{system,rawSystem} into System.Process. Later we can depecate System.Cmd. - Don't use O_NONBLOCK for pipes, as it can confuse the process attached to the pipe (requires a fix to GHC.Handle in the base package). - Provide a way to close all the file descriptors in the new process (see #1415) - add a couple more tests for the new features - bump the version to 2.0 }}} https://github.com/haskell/process/commit/3e6acdd0d9f7a80bbe454d114fb192e0a5...: {{{ Author: Simon Marlow <marlowsd@gmail.com> Date: Fri Dec 11 10:05:40 2009 +0000 Add comments re: #431 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/431#comment:14> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC