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.