
15 Apr
2010
15 Apr
'10
11:41 a.m.
On Wed, Apr 14, 2010 at 08:44:29PM +0200, Matthias Kilian wrote:
module Main(main) where
import System.IO import System.Process
main = do hin <- openBinaryFile "/dev/null" ReadMode hp <- runProcess "/bin/ls" ["-l"] Nothing Nothing (Just hin) Nothing Nothing r <- waitForProcess hp print r
IF I run this on OpenBSD (amd64), I get
foo: /bin/ls: runProcess: unsupported operation (Operation not supported by device)
I found it. I'll send a patch as soon as I've tested the fix. The neat thing is that darcs send probably doesn't work without the fix ;-) Ciao, Kili