Function rcpputils::get_executable_name

Function Documentation

std::string rcpputils::get_executable_name()

Retrieve the current executable name.

This function portably retrieves the current program name and returns a copy of it.

This function is thread-safe.

Throws:

std::runtime_error – on error

Returns:

The program name.