Can you remove the $TEMP\par-$USER directory also if it is empty after removing $TEMP- $PID, leaving nothing behind in a "all cleartemp" environment?
Sounds sane. Thanks, implemented in the repository.
Also implemented is that PAR_CLEARTEMP is ignored when PAR_TEMP is explicitly set by user, to avoid race conditions.
Also, this would be a nice time to implement the default value of PAR_CLEARTEMP in META.yml as you suggest in the notes in PAR.pm.
This would indeed by a nice time. How to read it from static.c/main.c will be a hurdle, though. I'll start with pure-perl implementation, then perhaps using the "magic string" approach in static.c/main.c to store extra variables, i.e. allocate some dummy strings to be later put to putenv().
If anyone can show me C code for reading embedded strings inside the executable, it will be appreciated. :-)
Thanks, /Autrijus/
