#6 Quit events and a nicer "Stop Script"

open
nobody
None
5
2001-10-16
2001-08-29
Kevin Reid
No

When MacPerl quits, if the running program has installed a signal handler for one of ($SIG{'TERM'} or $SIG{'QUIT'} or $SIG{'INT'}), call it instead of displaying the "Abort running script?" dialog.

This would allow the running program to handle shutting down however it likes; it would be especially useful for server programs or programs running on computers that get automatically shut down unattended.

Extra features:
Menu item to do the same without quitting MacPerl (separate from "Stop Script").
Configurable order of trying signal handlers.

Discussion

  • Chris Nandor

    Chris Nandor - 2001-10-16
    • summary: Quit events and a nicer "Stop Script" --> Quit events and a nicer "Stop Script"
     
  • Chris Nandor

    Chris Nandor - 2001-10-16

    Logged In: YES
    user_id=3660

    My estimation is that this might be difficult, and I am not
    sure it would be the right thing to do. Currently, I can't
    work on it, but when it is time to work on it, it should be
    discussed in -porters.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks