#6094: runInteractiveProcess not using new PATH
-------------------------------+--------------------------------------------
Reporter: GregWeber | Owner: GregWeber
Type: task | Status: patch
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.1
Resolution: | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Comment(by GregWeber):
{{{
diff --git a/System/Process.hs b/System/Process.hs
index 51fba92..9eb5e27 100644
--- a/System/Process.hs
+++ b/System/Process.hs
@@ -283,6 +283,9 @@ runInteractiveCommand string =
The 'Handle's are initially in binary mode; if you need them to be
in text mode then use 'hSetBinaryMode'.
+
+ The executable to be ran is found by using 'findExecutable' which
searches the current PATH.
+ Modifying the PATH of the spawned process does not effect the search
for the executable.
-}
runInteractiveProcess
:: FilePath -- ^ Filename of the executable
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6094#comment:9>
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