[Gambas-user] Detect signals?

Ron ron at ...1740...
Mon May 26 10:03:37 CEST 2008


Hi,

Is it possible to detect unix signals from within gambas application?
So you can for example run your own exit code when a application gets 
killed, or ctrl-c-ed?

eg.
SIG{INT}
SIG{BREAK}
SIG{KILL}
SIG{HUP}
SIG{PIPE}
SIG{CHLD}

Regards,
Ron.




More information about the User mailing list