I am making an application on Mac and I want to be able to replace a running executable. So while the executable is running I want to be able to replace it with a better version of it.
As far as I know on Linux you can do that, so the next time the application starts it will start the new executable, but on Windows you can’t do that.
So any information about this thing on Mac or any advise how to proceed?
Assuming you’re implementing an update feature, checkout the Sparkle framework,
which does exactly what you’re looking for, and way more.
In case you only need to replace a running application,
browse the Sparkle project at GitHub to see how it’s done.