



Hello,
I have several exe files created with perlapp. One of these I need to take “as isâ€. When I start it, it remains in memory until I kill the process.
Now my problem is, that after killing the process all temporary files created for the perl-runtime remain in the temp folder. (e.g. C:\WINDOWS\system32\config\systemprofile\Lokale Einstellungen\Temp\pdk-SYSTEM-2668)
So after some time there are hundreds of these folders where each has about 3MB of files.
Is there any way to quit a file created with perlApp softly so that it removes its temp files?
I tried to send WM_Quit but with no success.
Best regards,
Harald Binkle
Here are some ideas:
If you are the one creating the exe, you could use an alternate method for signaling that it needs to stop. For example, from within your main program loop, test to see if a file by the name PDK_STOP.txt exists.
Or build you own "kill" exe that accepts the PID , and cleans up the pdk-PID files as well.