help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Function atexit and Ctrl+C


From: Pavel Hofman
Subject: Function atexit and Ctrl+C
Date: Mon, 28 Jan 2019 20:46:29 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1

Hi,

I am trying to run atexit in a script started in octave command of the GUI environment. I stop the script with Ctrl+C, please is there a way to run a function at such moment? Ctrl+C seems to skip the atexit feature.

Reason: my script opens a figure and I want to close the figure when the script ends in GUI command.

Octave 4.2, linux

Thanks lot in advance.

Best regards,

Pavel.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]