#6094: runInteractiveProcess not using new PATH
-------------------------------+--------------------------------------------
  Reporter:  GregWeber         |          Owner:  GregWeber       
      Type:  task              |         Status:  closed          
  Priority:  normal            |      Milestone:                  
 Component:  Compiler          |        Version:  7.4.1           
Resolution:  fixed             |       Keywords:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown      |     Difficulty:  Unknown         
  Testcase:                    |      Blockedby:                  
  Blocking:                    |        Related:                  
-------------------------------+--------------------------------------------
Changes (by simonmar):

  * status:  patch => closed
  * resolution:  => fixed


Comment:

 Done, in `libraries/process`:

 {{{
 commit 270e43a2138898967da904e3d61a6e2589cb7b1a
 Author: Simon Marlow <[email protected]>
 Date:   Mon Jun 4 10:41:18 2012 +0100

     Document the precise semantics of executable searching (see #6094)

     I had to do some research to figure out what we were actually doing
     here, and it appears we're using the platform semantics (ie. execvp()
     on Unix and CreateProcess() on Windows), so I've documented that.
 }}}

 and in `libraries/directory`:

 {{{
 commit 9b42efbdf4202bb50c6834f79f999fb2eee75f2e
 Author: Simon Marlow <[email protected]>
 Date:   Mon Jun 4 10:36:53 2012 +0100

     add findFile :: [FilePath] -> String -> IO (Maybe FilePath) (see
 #6094)

     Just an export of part of the implementation of findExecutable, which
     is useful for people wanting to do their own findExecutable using
     something other than the current PATH.
 }}}

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to