From afac97b82181e2db14226d854761e53c66d98094 Mon Sep 17 00:00:00 2001 From: bringert Date: Thu, 15 Jun 2006 01:41:18 +0000 Subject: Block SIGINT while running gfInteract, as suggested by Peter. --- src/GF/System/NoSignal.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/GF/System/NoSignal.hs') diff --git a/src/GF/System/NoSignal.hs b/src/GF/System/NoSignal.hs index 5b7827f32..fdad89b27 100644 --- a/src/GF/System/NoSignal.hs +++ b/src/GF/System/NoSignal.hs @@ -24,3 +24,6 @@ runInterruptibly a = p `catch` h where p = a >>= \x -> return $! Right $! x h e = return $ Left e + +blockInterrupt :: IO a -> IO a +blockInterrupt = id \ No newline at end of file -- cgit v1.2.3