Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#44 Handle SIGTERM with a graceful quit (like KeyboardInterrupt)

open
nobody
None
5
2010-08-12
2010-08-12
Marco Nicolini
No

An attempt to address the request in Bug ID: 3036117
The patch installs a signal handler for SIGTERM in comix.py.
The signal handler queues window.terminate_program in the gtk loop to achieve the graceful shutdown.

It can be applied to the trunk svn with:

cd trunk/src
patch -p0 -i handle_sigterm_gracefully.patch

Discussion

  • Marco Nicolini
    Marco Nicolini
    2010-08-12

    Handle SIGTERM like KeyboardInterrupt (i.e. gracefully) address bugID: 3036117

     
  • HoverHell
    HoverHell
    2011-01-18

    Thanks. Applied into my fork repository (github.com/HoverHell/Comix/).