Hello All,
Chris wrote:
> I suggest creating a uniquely-named
> temporary directory and putting
> all the files associated with a single run of Rosegarden
> into that.
> Then deleting the whole directory on exit.
That sounds even better, and and simpler than the method I suggested. So a
directory for each RG instance. That would involve much less overhead than my
solution of tracking every file created.
Chris wrote:
> Sonic Visualiser does it exactly this way, so I have some
> code hanging
> around that we can reuse.
That is even better. Why reinvent the wheel?
Chris wrote:
> The directory could also contain a pid file for the
> "owning" instance
> of Rosegarden; if RG finds on startup any existing
> directories whose
> pid files refer to non-running pids, it should clean them
> up.
Sounds pretty elegant. Always keeps cleans up ever even if it bombs. We are
assured that the next run would tidy up its last mess
Sincerely,
Julie S.
------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel