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
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to