Just to be sure, your program completes and exits properly when it is not run as a packed exe?
Assuming it does, one option is to instrument the code with feedback when it completes processing, and perhaps also in an END block. If you have objects under your control then you could add DESTROY methods that simply log when they are called, perhaps only when in the global destruct phase. See https://perldoc.perl.org/perlobj.html#Destructors and the Global Destruction section immediately following it.
Also, does this occur on machines other than those you built your exe on? Have you packed all the needed external DLLs? If not then other systems might be loading different versions (although if that is the case then I would not expect the exe to get very far in the first place).
In reply to Re: .exe fails to exit
by swl
in thread .exe fails to exit
by levW
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |