Le lundi 20 juillet 2009 21:14:26, D. Michael McIntyre a écrit :
> Let's say you've done a preview, and you want Okular to start up with the
> rosegarden_tmp_T12345.pdf file for you to examine.  Once Okular has a copy
> of that file in memory, you can go ahead and delete it, but not before
> then.  At this stage the other two files can safely be deleted, but the
> .pdf must be deleted *after* Okular has picked it up.
>
Why not to create on the fly a script with an unique name as 
/tmp/rg_okular_T12345.sh which run okular then delete the files :

okular  /tmp/rosegarden_tmp_T12345.pdf
rm -f  /tmp/rosegarden_tmp_T12345.pdf
rm -f  /tmp/rg_okular_T12345.sh

Once start detached, this script should itself remove the garbage whatever 
rosegarden is doing while it runs.

It's just my first idea but maybe there is some other problem I just don't see 
here.

Yves




------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to