Thanks for your reply Jenda. The reason this is a problem for me is because this particular Exe is executed automatically by another one (the "parent") every 5 minutes or so. The "parent" runs as a service. The child monitors certain external processes. Sometimes the act of trying to obtain the status of these external processes ends up hanging the child. I have the parent wait for 2000 ms for a response from the child. If the parent does not get a response from the child within this time, the parent goes ahead and reboots the machine. Currently this leads to the temporary files from the child accumulating in the temporary area.
I will try your suggestion below and see if that stops the accumulation. Thanks again, --Moby -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jenda Krynicky Sent: Thursday, May 09, 2002 11:53 AM To: ''Perl-Win32-Admin EE-mail EE-mail'' Subject: Re: Perlapp and temporary files From: "Mobeen Azhar" <[EMAIL PROTECTED]> > I have a perl script that I have compiled into an Exe using > perlapp.exe 4.1.1 build 403. > > Every times my Exe is run, it extracts a couple of DLLs into > directories under the temp directory. I need to find a way of somehow > preventing this. > > Is is possible to somehow figure out what these DLLs are and > distribute them with my EXE? I do not mind having to distribute a > bunch of DLLS toegether with my EXE. You can change the location of the temp directory. So you can let the generated exe extract it's DLLs into the directory where you install it (assuming you install it into the same path always) and leave them there. (That is omit the -clean option.) I do not really understand why do you have such big problems with having a few DLLs being extracted to the temp and leaving them there. Do not use the -clean option and allow perlapp/perlctrl to extract the DLLs to TEMP and share them there. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain I can't find it. --- me _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
