[Haskell-cafe] runInteractiveCommand dying uncatchably?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sat Mar 1 19:25:35 EST 2008

On Mar 1, 2008, at 13:39 , Evan Martin wrote:

> If I run the following program, it never prints "done".  If I
> uncomment the commented line, it does.

The exception it's getting is a UNIX signal (SIGPIPE), whose default  
action if not caught is to silently kill the process.  Establish a  
signal handler for sigPIPE, or ignore it (which will silently convert  
it to an error EPIPE which will raise a normal I/O exception).

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

More information about the Haskell-Cafe mailing list