2 ms·
Replacing a running executable isn't possible under Windows (and probably some other systems); you'd need to spawn a second process that waits for your process
by jeroenhd 4y ago
Replacing a running executable isn't possible under Windows (and probably some other systems); you'd need to spawn a second process that waits for your process to die, replace the executable, and then relaunch the application.
Possible, but a lot harder than doing it the Linux way.
- glandium 4y agoActually, you can rename the executable, place the new executable, run the new one and make it remove the old one.
- MobiusHorizons 4y agoThanks for the context, I didn’t realize that.