å ä, 2004-01-02 04:16, Alan Stewart åéï
> Those choices would work for me, but I'd vote that PAR_CLEARTEMP=1 is still the 
> default.

I can see that, if I can somehow find a way to embed the configuration
options into the executable.  Hrm.

FWIW, PerlApp defaults to CLEARTEMP=0.

> On the other hand, how about adding the PID to the file names instead of putting it 
> in 
> the directory name, and deleting only the files that match that PID. That way you 
> don't 
> clobber other executables, there is only one base PAR temp dir and there isn't a new 
> path to the executable each time. On the third hand, that would mean changing file 
> naming methods in several places and I don't know how you would handle the main 
> executable name itself.

How about, instead of $TEMP\par-$PID\ and $TEMP\par-$USER-$EXEID\, we
use

        $TEMP\par-$USER\tmp-$PID
        $TEMP\par-$USER\cache-$EXEID

As you noted, there are some files that must retain its original name
(Tk/*.xpm for example), so prefixing PID to their names does not really
work.  So I think a static $TEMP\par-$USER is a better compromise. 
Thoughts?

Thanks,
/Autrijus/

Attachment: signature.asc
Description: =?UTF-8?Q?=E9=80=99=E6=98=AF=E6=95=B8=E4=BD=8D=E5=8A=A0=E7=B0=BD?= =?UTF-8?Q?=E7=9A=84=E9=83=B5?= =?UTF-8?Q?=E4=BB=B6?=

Reply via email to