On Jan 16, 2009, at 9:40 AM, mabshoff wrote:
> > > > 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 Yeah; those old Unix guys (Ken and Dennis) thought of everything :-} Justin -- Justin C. Walker, Curmudgeon at Large Director Institute for the Enhancement of the Director's income ----------- -- They said it couldn't be done, but sometimes, it doesn't work out that way. - Casey Stengel -- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---