0.0
No release in over a year
A gem for ignoring signals
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

Thermopylae

When the Kernel wrote again, 'Hand over your system resources', the Program wrote in reply 'Come and take them'.

You can't always win, but you can always make them SIGKILL you.

Usage

All you have to do is require "thermopylae" and your program will stubbornly refuse to exit. thermopylae registers a signal handler for every signal that the ruby VM will permit it to "IGNORE". If you wish to restore the default behaviour you can call Thermopylae.submit_to(signal_name), but this is of course not recommended.

Caveats

Worth noting that all the defenders at Thermopylae died painfully...