Re: Windows execute but don't wait.
- Posted by ChrisB (moderator) Jul 19, 2013
- 2187 views
Hi
How I do this.
When an eu program runs, it puts its whole self in memory (does it not?), and does not require the program to acyually be on the disk.
My program checks at regular points for the size of itself. When it first loads up, it records the size of itself in a global variable.
If the size of the program changes is a new version has been uploaded, then a flag is raised and the user is informed that the program needs to be restarted.
It would be a small leap to run an external script to kill all instances of itself, and then restart the updated program (a suicide-phoenix)
Chris