Hacker News new | ask | show | jobs
by wongarsu 660 days ago
Unless you are on Windows
1 comments

You can actually rename an executable that is running, on Windows. That's a way to handle self updates: rename the executable, create its replacement, execute the new one to make it remove the old executable.