9 Dec 21:20
Re: filepath
Duncan Coutts <duncan.coutts <at> worc.ox.ac.uk>
2007-12-09 20:20:15 GMT
2007-12-09 20:20:15 GMT
On Sun, 2007-12-09 at 20:00 +0000, Ian Lynagh wrote: > On Sun, Dec 09, 2007 at 11:47:43AM -0800, Bryan O'Sullivan wrote: > > > > As you can now imagine, this has no relation to how a Haskell program > > should be manipulating paths. > > It also affects rawSystem: > > $ ghc -e 'System.Cmd.rawSystem "s" []' > ExitFailure 127 > $ ghc -e 'System.Cmd.rawSystem "./s" []' > hi > ExitSuccess > > but I'm not convinced that isn't a bug too. That is because it also uses the system path. See execvp vs execve. Duncan
RSS Feed