Hi

Here's an addition to my "Mysterious function timer_settime" message:

This test program:

        import HsShellScript

        main =
           call (exec "/bin/echo" ["bla bla"]
                 -|- exec "/bin/cat" [])

produces this output:

        test: test: <stderr>: hPutStr: illegal operation (handle is 
closed)<stderr>:    
        hPutStr: illegal operation (handle is closed)

        test: timer_settimetest: : Invalid argument
        timer_settime: Invalid argument
        test: Exited (ExitFailure 1)

I'm almost sure that the two examples work fine in the last working version of 
HsShellScript. They use GHC-6.11. (I can't verify this, since I have 
GHC-7.0.4 version installed. The old GHC version isn't available as a Debian 
package any longer.)

So there appears to be a downwards-incompatibilty in the GHC libraries. I'm 
fiddling with the internals quite a bit, in order to get forks, pipes and 
redirects etc. working.

Any hint would be appreciated.

Volker

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to