Re: exit-hook never executed

2022-09-30 Thread Jean Abou Samra
Oh dear, I sent my reply to the wrong list and now we’re discussing on lilypond-user instead of guile-user. Sorry LilyPond folks, this was not for this list. Forwarding to guile-user, please remove lilypond-user when replying. > Le 30 sept. 2022 à 17:35, Olivier Dion a écrit : > > On Sun,

exit-hook never executed

2022-09-22 Thread Olivier Dion via General Guile related discussions
Hi, `exit-hook' seems to only be executed when in a REPL. Is there a way for it to be executed at the end of a none interactive program? My intend here is that I have a module that load a foreign extension and initialize its runtime so that other modules of that extension can be used. I then