![](https://secure.gravatar.com/avatar/82c0f6eed0ee59676eb45aadd66dac57.jpg?s=120&d=mm&r=g)
Ted Gould wrote:
One thing that I'm curious about, is how we can clean up from the input extension. It sounds like it leaves the files in the temporary directory, which makes sense, but I'd like to be "good citizens" and clean up after ourselves. Does anyone have any ideas on this?
I don't really know how to achieve this? Maybe inkscape can create its own temporary directory which it removes after closing inkscape. Extensions could use this temporary directory.
Hmm, I'm not sure if this is a security risk. I think it would be okay as long as we randomly created the directory name on every run. Does that make sense to everyone else also?
I don't know exactly what you're thinking of, but on Windows each user has his/her own temporary directory, so it shouldn't be much of a problem. Under Linux perhaps some kind of ~/.inkscape/temp directory could be used (not sure what the correct procedure would be under Linux).