4 ms·
You can't write to a running executable on Linux either, but you can remove it and create a new file with the same name (optionally atomically with a rename). T
by mortehu 8y ago
You can't write to a running executable on Linux either, but you can remove it and create a new file with the same name (optionally atomically with a rename). The old file keeps existing until it's closed.
This allows running programs to be updated.