[#util-GetExePath] = xref:util.adoc[util]::GetExePath :relfileprefix: ../ :mrdocs: Return path to current executable assuming it was invoked with argv0. If path could not be determined, returns an empty path. == Synopsis Declared in `<util/exec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:fs/path.adoc[fs::path] GetExePath(std::string_view argv0); ---- == Return Value The path to the current executable, or an empty path if unknown. == Parameters [cols="1,4"] |=== | Name| Description | *argv0* | The argv[0]value the process was invoked with. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#