On Jan 16, 9:36 am, Carl Witty <carl.wi...@gmail.com> wrote:
> On Jan 15, 10:52 pm, "Justin C. Walker" <jus...@mac.com> wrote:
Hi,
> > If the temp files are truly temp files (i.e., not of interest when the
> > process that creates them exits), then there are Python calls that
> > help: the temp files can be created and unlinked, so that at exit,
> > they vanish. In fact, they are not visible in the file system at all.
>
> This works for files which are meant to be written and read inside the
> same process (some sort of manual swap file, say); but in our case the
> goal is to send the file from the Sage process to the ffmpeg process,
> and this technique doesn't work in that case.
Yep, unfortunately this is the case. I did not know about the above
trick and it is neat, but kind of difficult in case you actually have
to debug the problem. I can also imagine all kinds of nefarious things
one could do with that type of tmpfile.
> Carl
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---