[Haskell-cafe] catting to cat gets stuck at > 135K

Daniel Franke df at dfranke.us
Mon Nov 10 21:50:19 EST 2008


"Jason Dusek" <jason.dusek at gmail.com> writes:

>> > simple exe bytes args        =  do
>> >   (i, o, e, p)            <-  runInteractiveProcess exe args Nothing
>> > Nothing
>> >   hPut i bytes
>> >   s                       <-  hGetContents o
>> >   hClose i
>> >   return s
>>
>> Yep, that's your problem.  forkIO the hPut.
>
>   Maybe I didn't do enough here -- just wrapping in `forkIO`
>   does not seem to actually help.

What GHC version are you using?  Bugs #1780, #1936, and #2155 might be
relevant.

-- 
 Daniel Franke         df at dfranke.us         http://www.dfranke.us
 |----| =|\     \\\\    
 || * | -|-\---------   Man is free at the instant he wants to be. 
 -----| =|  \   ///     --Voltaire


More information about the Haskell-Cafe mailing list