You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to use the signal package to handle SIGTERM in a cross-platform way in the context of this cabal pull request: haskell/cabal#7921.
It turns out that apparently, GHC's Windows runtime doesn't deal with whatever taskkill sends meaningfully, and installing a SIGTERM handler with this package has no effect on Windows. Looking further, it seems that this package simply provides a thin wrapper around mingw's signal.h, which appears to not actually do much at all: https://sourceforge.net/p/mingw/mailman/message/16209215/
So I guess my questions are:
is there a way to use this package to meaningfully handle SIGTERM?
if not, in what scenario might this package actually be useful?
The text was updated successfully, but these errors were encountered:
I was trying to use the
signal
package to handleSIGTERM
in a cross-platform way in the context of this cabal pull request: haskell/cabal#7921.It turns out that apparently, GHC's Windows runtime doesn't deal with whatever
taskkill
sends meaningfully, and installing aSIGTERM
handler with this package has no effect on Windows. Looking further, it seems that this package simply provides a thin wrapper around mingw'ssignal.h
, which appears to not actually do much at all: https://sourceforge.net/p/mingw/mailman/message/16209215/So I guess my questions are:
SIGTERM
?The text was updated successfully, but these errors were encountered: