[process] Fixed asynchronous exception bugs in readProcess and readProcessWithExitCode

Brandon Allbery allbery.b at gmail.com
Thu Jan 12 23:14:36 CET 2012

On Thu, Jan 12, 2012 at 14:35, Bas van Dijk <v.dijk.bas at gmail.com> wrote:

> 2) If an asynchronous exception was thrown to the
> stdout/stderr-read-thread it did not execute the putMVar anymore
> resulting in a dead-lock when takeMVar was executed.

Hah.  I knew something like this was in there; xmonad is hanging instead of
catching an exception or signal when the far end of a pipe (usually xmobar)
goes away.

brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20120112/6b88ebcb/attachment.htm>

More information about the Libraries mailing list