Function TRAP::FileSystem::OpenInFileBrowser#

Function Documentation#

bool TRAP::FileSystem::OpenInFileBrowser(const std::filesystem::path &p)#

Opens the file browser at the given path. If p leads to a file, the file browser will select/hightlight the file.

Remark

Linux: Linux uses xdg-open for this functionality. The given file won’t be selected.

Parameters:

p – Path to a file or folder to open.

Returns:

True on success, false otherwise.