[GHC] #7327: Inconsistent behavior for relative paths in runProcess
GHC
cvs-ghc at haskell.org
Fri Apr 12 17:41:48 CEST 2013
#7327: Inconsistent behavior for relative paths in runProcess
----------------------------------+-----------------------------------------
Reporter: snoyberg | Owner:
Type: bug | Status: infoneeded
Priority: normal | Milestone: 7.8.1
Component: libraries/process | Version: 7.6.1
Keywords: | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
----------------------------------+-----------------------------------------
Changes (by igloo):
* status: new => infoneeded
* difficulty: => Unknown
* milestone: => 7.8.1
Comment:
I'm confused; this behaves the same on Linux and OS X for me:
{{{
$ cat q.hs
import System.Process
main :: IO ()
main = do ph <- runProcess "./runme.sh" [] (Just "sub")
Nothing Nothing Nothing Nothing
ec <- waitForProcess ph
print ec
$ cat runme.sh
#!/bin/sh
echo Running root
$ cat sub/runme.sh
#!/bin/sh
echo Running in sub
$ ghc --make q
$ ./q
Running in sub
ExitSuccess
$
}}}
Can you tell me how I can reproduce the problem, please?
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7327#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list