
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) The handles I get correspond to file descriptors in the OS? Could there be any conflicts? (Like not enough available, or re-used to early etc.) Or perhaps you see anything that's wrong with my code here http://dfa.imn.htwk-leipzig.de/cgi-bin/cvsweb/box/src/SMT/Time.hs?rev=1.9 I'm compiling this with -threaded, but running with -N1. Of course, terminateProcess is another source of uncertainty here. (Sometimes it takes several seconds until the external process dies.) Any hints appreciated. - J.W.