file descriptors
Antoine Latter
aslatter at gmail.com
Thu Oct 30 11:02:35 EDT 2008
2008/10/30 Johannes Waldmann <waldmann at imn.htwk-leipzig.de>:
> Dear all,
>
> are there any known issues
> with file handles/descriptors in ghc-compiled executables?
>
> My program has a lot of calls to System.Process.runInteractiveProcess
> and I'm running into unpredictable behaviour (sometimes the program
> just silently dies, sometimes it gets stuck)
>
I don't know a lot about this sort of thing, but I know that there's a
bunch of wrappers around runInteractiveProcess that the franchise
package uses found here:
http://darcs.net/repos/franchise/Distribution/Franchise/Util.hs
Maybe those wrappers make up for some gotchas that are often
encountered with runInteractiveProcess?
-Antoine
More information about the Glasgow-haskell-users
mailing list