Skip to main content

remember_current_executable

Function remember_current_executable 

Source
pub fn remember_current_executable() -> Result<()>
Expand description

Remember the installed executable pathname before an updater replaces it. A web process calls this at startup so Linux’s deleted-executable marker or Windows’s backup rename cannot redirect successor workers to the old binary.