Ticket #2835 (closed bug: wontfix)
Handles leak to processes spawned by runInteractiveProcess
Description
I believe this is related to http://hackage.haskell.org/trac/ghc/ticket/2650 however this occurs on Linux and Windows both, as far as I can tell.
Attached is the test case. It opens a simple server which echoes everything to stdout with two exceptions: commands beginning with q signal "quit" and commands beginning with "l" signal launching a new process.
1) Launch sockLeak. Telnet to port 9020. Type in some junk. It will be echoed. 2) Type in "q". The connection will terminate. 3) Telnet in again. This time, type "l". Now type "q". The connection has not terminated. 4) This is clearly because the handle to the socket has gotten passed to the child process somehow.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

