octave-maintainers
[Top][All Lists]
Advanced

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

Re: How to mark files for deletion with Octave-4.4?


From: Olaf Till
Subject: Re: How to mark files for deletion with Octave-4.4?
Date: Sun, 13 May 2018 08:50:10 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Sun, May 13, 2018 at 08:43:46AM +0200, Olaf Till wrote:
> Hi,
> 
> for automatically deleting files at Octave exit, up to Octave-4.2, I
> called 'mark_for_deletion ("path");' and exited with
> 'clean_up_and_exit (1);'.
> 
> In Octave-4.2, this also worked with 'exit (1);' instead of
> 'clean_up_and_exit (1);'
> 
> In Octave-4.4, it only sometimes worked with 'clean_up_and_exit (1);'
> and doesn't work with 'exit (1);' (the marked file is not deleted at
> exit).
> 
> What is the right way to do this with Octave-4.4?

Sorry, I was confused. What didn't work was deleting the file if
Octave was killed by a signal (which had to be -9 now), so it had
probably had nothing to do with the choice between 'exit' and
'clean_up_and_exit'.

Please forget it for now, I'll probably come back to it later.

Olaf

-- 
public key id EAFE0591, e.g. on x-hkp://pool.sks-keyservers.net

Attachment: signature.asc
Description: PGP signature


reply via email to

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