[Gambas-user] Saving settings on system shutdown

Brian G brian at westwoodsvcs.com
Sun Oct 3 20:48:58 CEST 2021


Would you not get a kill signal or hup signal?
--
Thanks
Brian G Sunday, 03 October 2021, 04:00AM -07:00 from Bruce Steers  bsteers4 at gmail.com :

>
>I have a program that starts with my system and runs in the background.
>
>It has icons i can move and on exit it saves the positions.
>
>I have noticed if i do not exit the program but shutdown the computer the settings do not save.
>
>Of course i could just save the settings on moving icons but i wondered if there is a recommended method to catch an application exit due to a shutdown?
>Does the system just kill the program?
>
>I guessed DBus would probably be the best alternative way but wouldn't hurt to ask the experts if there is already an easier way.
>
>Thanks for any advice :)
>
>BruceS
>
>
>----[  http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211003/960ce345/attachment.htm>


More information about the User mailing list