Skip to main content

current_exe_deleted

Function current_exe_deleted 

Source
pub fn current_exe_deleted() -> bool
Expand description

Reports whether the current executable path carries a deletion marker.

A trailing (deleted) suffix can indicate that the executable was removed or replaced. Lookup failures and non-UTF-8 paths return false.