IB2017 has asked for the wisdom of the Perl Monks concerning the following question:
When I pack a Tk script into an .exe in Windows 10 using Strawberryperl 5.28 and I run it, I can see in task manager that TWO instances of my application are running. They have the same name but different PID and different memory usage: A) is very small; B) is bigger. Why this? I noticed this because I was trying to kill my application from outside Perl (to perform an update which requires my application to be killed), and I could kill it. I noticed that the external updater kills only A), not B). The GUI still is shown and seems to work perfectly, even without A). I need to manually kill B) to kill (both) instances. Now my questions:
Is this normal?
It is possible prevent it (when I packed with PerlApp I had only once instance)?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: PAR pp Windows 2 instances
by Marshall (Canon) on Feb 04, 2019 at 05:18 UTC | |
by IB2017 (Pilgrim) on Feb 04, 2019 at 08:18 UTC | |
by Marshall (Canon) on Feb 04, 2019 at 12:14 UTC | |
by IB2017 (Pilgrim) on Feb 04, 2019 at 14:23 UTC | |
by Marshall (Canon) on Feb 04, 2019 at 14:39 UTC | |
| |
|
Re: PAR pp Windows 2 instances
by swl (Prior) on Feb 04, 2019 at 23:05 UTC | |
|
Re: PAR pp Windows 2 instances
by Anonymous Monk on Feb 04, 2019 at 13:05 UTC | |
by Anonymous Monk on Sep 01, 2019 at 02:05 UTC |