Hello All,

Yves wrote:
> 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

See another great idea.

I like the idea of no scripts.  I know Michael has tried hard to move us away 
from them.  But a simple temporary script like this could be handy.

This script might as well have it clean up the .ly file and the .ps file while 
it is at it. So:

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

But there is more possibility of this leaving garbage since cleanup is out of 
RG hands once we fire off the script.  But that is debatable I guess.

I sort of like leaving all the files there in case we want to peek at them 
during an RG session could be handy.  So, I'd be in favor of a clean-up on RG 
exit.  If we time stamped them we'd always know which one was the latest one 
(we'll unless there are multiple RG sessions).

Sincerely,
Julie S.



      

------------------------------------------------------------------------------
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