#6094: runInteractiveProcess not using new PATH
-------------------------------+--------------------------------------------
Reporter: GregWeber | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.4.1
Resolution: invalid | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
-------------------------------+--------------------------------------------
Comment(by GregWeber):
To give you some more background on the use case, I am running a script.
One of the commands needs an addition to its path. At this point I don't
know how to write the program without shelling out to the "env" command
instead of the command I really want to run.
If I want the current behavior I just don't set the PATH, and as the
documentation states, I will inherit the environment of the current
process. If I go to the trouble of setting an environment variable, it is
because I do want it to be used. If there is an exception to the rule it
should be documented.
So if we fix the documentation (which I am willing to do), how to I change
the PATH in a thread-safe way?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6094#comment:2>
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