There can be issues with tools like CCleaner deleting temporary folders and thus any files in use by pp-packed executables that are not file-locked.
Assuming that is the issue, the simplest option for now is to set the PAR_GLOBAL_TEMP environment variable to a folder that is not cleaned up automatically. This needs to be done before you start your program, e.g. by wrapping your code in a batch file or setting a system-wide env var. More details are at https://metacpan.org/dist/PAR/view/lib/PAR/Environment.pod.
Re-running the executable is an option. This works because, when you re-run the executable, all the PAR archive contents are re-extracted if a canary file is not found. It is obviously clunkier but works.
In reply to Re: pp: modules disappearing while program runs?
by swl
in thread pp: modules disappearing while program runs?
by sectokia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |