[Haskell-cafe] gracefully invoking `less` using System.Process (andignoring ctrl-c)
allbery.b at gmail.com
Fri Dec 12 18:21:04 UTC 2014
On Fri, Dec 12, 2014 at 1:19 PM, Donn Cave <donn at avvanta.com> wrote:
> > The problem is that pressing CTRL-C in `less` now kills everything
> And didn't before? Do you suppose, because of the createProcess?
The withSIgnalHandled function cited in the original message explicitly
un-ignores SIGINT, which leads to the observed behavior.
brandon s allbery kf8nh sine nomine associates
allbery.b at gmail.com ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe