 
            
            
            
            
                6 Feb
                
                    2007
                
            
            
                6 Feb
                
                '07
                
            
            
            
        
    
                6:33 p.m.
            
        Hi, Am Dienstag, den 06.02.2007, 15:56 +0100 schrieb Fawzi Mohamed:
I am replying to myself, but anyway with it seems (from the documentation) that
forkIO (do{ waitForProcess pid; return () })
is the best solution, and does not seem to lead to wasted resources.
This does not work for me. According to strace, the spawned process is in a blocking write, the haskell process is in a blocking waitpid, and I am sure that the program would consume all output. Greetings, Joachim -- Joachim Breitner e-Mail: mail@joachim-breitner.de Homepage: http://www.joachim-breitner.de ICQ#: 74513189