testing 6.12.2-pre

Matthias Kilian kili at outback.escape.de
Thu Apr 15 07:41:50 EDT 2010


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


More information about the Glasgow-haskell-users mailing list