On Mon, 12 Nov 2012 13:54:43 -0600
David Ashley <w.david.ash...@gmail.com> wrote:

> I am not saying that we should not process the SIGHUP signal. We
> should process it. But that leads us to the next two choices.
> 
> 1. The interpreter safely terminate the script without passing the
> signal on to the user.
> 
> 2. We pass the signal on to the user and let them perform their own
> termination processing.
> 

Ok, we agree SIGHUP (and signals in general) should be handled. 1. is
out if we want to make it possible for the script to gracefully shut
itself down.

Would it be an idea to have a special function (*nix only, otherwise it
will be ignored) which turns on 'strict signal handling' (to give it a
name) for signal on halt? Then we would be downward compatible, and
those having a special need (i.e. they need to do some cleanup
processing) could make use of that function.


-- 
Manfred

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to