Joel VanderWerf
4/16/2007 6:45:00 PM
Erik Veenstra wrote:
> I've released RubyScript2Exe 0.5.2.
...
> * Replaced %TEMP% by %HOME%/eee, or %USERPROFILE%/eee, or
> %TEMP%/eee, or c:/eee (on Windows). Replaced /tmp by
> $HOME/.eee, or /tmp/.eee (on Linux/Darwin). This is to avoid
> "Insecure world writable dir".
I've been wondering something:
Sometimes, a buggy program will not clean up the rubyscript2exe temp
files. That's not rubyscript2exe's fault, it's just because the cleanup
code never gets a chance to run, due to segfault, kill -9, etc.
If the temp files are in /tmp, then at least they will usually get
cleaned up (periodically, or at reboot).
If they are in the $HOME/.eee dir (which I understand is necessary to
avoid the warning messages), then how will they get cleaned up? Can the
rubyscript2exe runtime do that automatically? Is there an API to do it
from the app itself?
Thanks again for rubyscript2exe, Erik!
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407