System.Cmd.system tries to execve("n/sh", ...)
Simon Marlow
simonmar at microsoft.com
Mon Oct 21 05:36:01 EDT 2002
> I'm experiencing what may be a similar bug using GHC 5.04.1 on RedHat
> Linux. The command line argument to a program invoked from my Haskell
> program sometimes is unexpectedly empty, sometimes it
> contains a substring
> of an environment variable's value, sometimes it contains the correct
> argument string ("7", in my current case).
There is a known bug in Posix.executeFile, see:
http://www.haskell.org/pipermail/glasgow-haskell-bugs/2002-September/002
653.html
If the replacement version of executeFile works for you, please let me
know, and I'll fix it in 5.04.2.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list