Hi, An update to my mail below. This is almost a PDK question so this might not be the right list but the info I gave on the --clean option is incorrect so needs correcting for any future reference made to this thread. It is PDK + wxPerl related at least.
I have a PDK packaged wxPerl app. If I do not specify the --clean option, when I run the app, PDK creates 2 temp directories based on my login name pdk-mdootson pdk-mdootson-5698 All of my bound files (so the wxWidgets DLLs) go into pdk-mdootson-5698. Everything else (perl58.dll, autoload dll's) goes into pdk-mdootson. When the app exits, pdk-mdootson-5698 and its contents are removed. Everything in pdk-mdootson is left. Every time I run the app, a new folder with a unique name is created and the wxWidgets DLLS placed in that. Multiple instances run at the same time all get a unique folder. All these folders are removed when each instance exits. If I specify the --clean option, behaviour is slightly different. The unique directory is created, but all files are now placed in there. The common directory - pdk-mdootson is not created - or if it exists nothing is extracted there. On app exit as usual the unique directory is removed and everything within it - which this time includes perl58.dll etc. So, to have the problem you describe - you must be specifying the --clean option, because all the files are in the same directory. However, something is going wrong when your application exits because the directories are not being removed. Normally you get an error when this happens along the lines of 'rmtree failed'. You are not the only one to see this error recently - but I have been unable to replicate it. The only way I would be able to help further is if I could see the code that causes this. I'd be happy to try and find out why it is caused. It is up to you whether you wish to send me an example of your code where this happens. Regards Mark Mark Dootson wrote: > Hi, > > This is PDK question I think. > You need to use the --clean option. > > If you are using the wxPDK utility, I notice that I do not specify --clean by > default, so that is something for me to change in there. > > Mark > > Octavian Rasnita wrote: >> Hi, >> >> Maybe this was discussed before, and if it is so, please tell me where >> can I find more information about the issue... >> >> I've seen that if I start a WxPerl program it creates the temporary .dll >> files but after I close it, it deletes only some of those files, and >> leaves behind some of them that have a few mb. >> >> If I start the program again, another temporary directory is created, >> and after closing the program it also leaves behind some files in it, >> and this way it occupies the space on the hard disk. >> >> Can I do something to make it delete all the temporary files created? >> >> (The directory where the Perl dll and another file are stored is >> rewritten, so it is not a big problem, but the second temporary >> directory where the WxPerl dll files are stored is not rewritten). >> >> Thanks. >> >> Octavian >> > >
