Function winsafe::path::exe_path

source ·
pub fn exe_path() -> SysResult<String>
Available on crate feature kernel and debug-assertions enabled only.
Expand description

Returns a new string with the path of the current EXE file, without the EXE filename, and without a trailing backslash.

In a debug build, the target\debug folders will be suppressed.