[GHC] #11100: Remote GHCi

GHC ghc-devs at haskell.org
Wed Jan 27 09:51:50 UTC 2016


#11100: Remote GHCi
-------------------------------------+-------------------------------------
        Reporter:  simonmar          |                Owner:  simonmar
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  GHCi              |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #11047, #8736     |  Differential Rev(s):  Phab:D1562
       Wiki Page:                    |  Phab:D1747 Phab:D1748 Phab:D1836
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"44a5d51a4892b85c7eba09dcb90ca02245637812/ghc"
 44a5d51a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="44a5d51a4892b85c7eba09dcb90ca02245637812"
 Enable RemoteGHCi on Windows

 Makes the needed changes to make RemoteGHCi work on Windows.
 The approach passes OS Handles areound instead of the Posix Fd
 as on Linux.

 The reason is that I could not find any real documentation about
 the behaviour of Windows w.r.t inheritance and Posix FDs.

 The implementation with Fd did not seem to be able to find the Fd
 in the child process. Instead I'm using the much better documented
 approach of passing inheriting handles.

 This requires a small modification to the `process` library.
 https://github.com/haskell/process/pull/52

 Test Plan: ./validate On Windows x86_64

 Reviewers: thomie, erikd, bgamari, simonmar, austin, hvr

 Reviewed By: simonmar

 Subscribers: #ghc_windows_task_force

 Differential Revision: https://phabricator.haskell.org/D1836

 GHC Trac Issues: #11100
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11100#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list