4/28/2023 0 Comments Spamassassin exe![]() > I have several exe files created with perlapp. > ActiveState - Dynamic Tools for Dynamic Languages > me know, and I'll pass it along to our developers for suggestions. > If there is some reason which forces the clean on exit strategy, let > more consistent and let me change the apparent behavior of code I > correct environment variables along, but I found this approach was > the temporary files are not in use, and the chance of a timing > I suggest that you write a wrapper for the "as-is" application, and > system to deal with an uncertain state. > they used to be, but it's still probably better to avoid forcing the Modern file systems are a lot more resilient than > shutdown, this can also interact with other system activities in an > and delete all expired temporary files. > files from an uncontrolled crash, you have to write the code to find > always be shut down in an orderly fashion. > not dependable, since you can't guarantee that the process will > May I make an alternative suggestion? I ran into similar problems to > Subject: Re: kill process created with perlapp > From: ActiveState Support > Sent: Friday, Decem6:31 PM > So I'm simply searching for a way to tell the exe to quit without > problem is that I need to restart that exe (process) nearly every hour. > I don't care about the temp files when that exe crashes. > I use that exe together with my own perlapp exe files. > get a whole exe file created with perlapp. > The problem is that I not only get that Perl application "as is". Let me know if you have any further questions or comments.ĪctiveState - Dynamic Tools for Dynamic Languages There are compile-time options which could stop this behavior, such as not using -clean (to force it to reuse the same files), or dynamically linking instead of relying on tempfiles. If it is a PerlApp, the only thing you can do is talk to the supplier of the executable. If this was a PerlSvc, and not a PerlApp, you could send a graceful stop to the service. In your situation, there is not much you can do. I asked the support guys from Active-State if there is any way to stop/restart a perlApp exe like spamd.exe without having those temp files left. ![]() ![]() You will of course have to change the service name and file locations to suit your install and maybe you need a different date format too (currently yyyymmddtttt so it sorts ok), but it's a good starting point! " %%i in ('time/t') do set time=%%i%%j%%k%%lĬall rmtree.bat C:\Windows\Temp\pdk-SYSTEM-* Now the main file which rotates the logs and cleans offįOR /F "tokens=1-4 delims=/ " %%i in ('date/t') do set date=%%l%%k%%j%%iįOR /F "tokens=1-9 delims=. If "%~1"="" echo Please supply directory name
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |