[Gambas-user] Question about signal management inside gambas console program ?

Olivier Cruilles linuxos at ...1896...
Fri Nov 21 19:22:20 CET 2008


Hello Benoit,

Just some questions about how to manage inside gambas console program,  
Unix signal.

In a bash script for example, I can use the TRAP command to activate  
some procedure when
Unix event appear.

In my gambas console program, for example I'll like to be able to  
write in log file some text lines before quit the program
when I receive the signal SIGTERM.

It's possible in gambas or not ?

Thank you in advance

Olivier Cruilles




More information about the User mailing list