System module

get_path_of_running_executable

procedureSource

Returns the full path of the running program, or an empty string if it cannot be found.

Example↗
assert(get_path_of_running_executable().count > 0);
get_path_of_running_executable :: () -> string

Returns

string

See also