in reply to Re: .exe fails to exit
in thread .exe fails to exit

Thanks, but not really.I dis use SysInternals for both issues with no luck so far

Now it's a different issue - the program opens and runs well, but will not exit

task manager shows several program handles/dlls open.No idea why

do not see any other handle opened by my program...

Replies are listed 'Best First'.
Re^3: .exe fails to exit
by holli (Abbot) on Jul 14, 2019 at 10:25 UTC
    Executable distributions generated by pp are just glorified zip files. You can try to unpack your app into an empty directory, open a clean shell (no other perl in PATH), set the PATH variable so Windows can find the perl executable of your distribution and run your script. See how that works. Maybe you are just missing a dependency that pp did not find because it gets magically loaded somewhere.


    holli

    You can lead your users to water, but alas, you cannot drown them.
Re^3: .exe fails to exit
by marto (Cardinal) on Jul 14, 2019 at 10:16 UTC

    Your post lacks any real detail, and doesn't reference your previous thread. How do I post a question effectively?. Posting what you've tried/discovered along with the context of the problem makes it easier to help. Posting an example which replicates the issue will make it easier for people to help.

    "Now it's a different issue" does the first problem still exist?

      my "previous thread" was a reply to a question from another monk regarding the previous thread"

      Can not post examples - my code is about 7000 lines, and the problem is node code related, by rather the .exe behaviour change after a Perl upgrade.

        The first step you will have to do is to reduce your code to a (say) 20 line example that still exhibits the problematic behaviour.

        How else should we be able to replicate and understand your situation?

        Your previous post and previous thread are two different things. That's why I linked to your previous thread as specified. You can't have read the advice I linked to, the linked threads are clear that we don't want to see thousands of lines of code. If you won't show us what you're doing or post a problem people can replicate you're making it more difficult for anyone to offer anything other than general advice.