bihuboliya has asked for the wisdom of the Perl Monks concerning the following question:
I have prepared an executable using pp -o test.exe test.pl. Now, when I run the executable a folder starting with 'par-' (eg. par-6gr56ety3) is created in the TEMP folder of windows. The folder is not getting deleted after the execution is over. I tried doing - system("rd /s /q $par_folder") while exiting from the script. This give me the error message "access denied". This is so because the executable itself is creating the temporary folder and using it. Is there any other way to get rid of the temporary folder?
Please help. Thanks in advance.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Executable prepared using pp is creating some temporary folders
by marto (Cardinal) on Aug 31, 2012 at 10:04 UTC | |
Re: Executable prepared using pp is creating some temporary folders
by Anonymous Monk on Jan 28, 2013 at 12:35 UTC |