kameloso.platform

Functions that deal with OS- and/or platform-specifics.

Members

Functions

configurationBaseDirectory
auto configurationBaseDirectory()

Divines the default configuration file base directory, depending on what platform we're currently running.

currentEnvironment
auto currentEnvironment()

Returns the string of the name of the current terminal environment, adjusted to include Cygwin as an alternative next to win32 and win64, as well as embedded terminal consoles like in Visual Studio Code.

exec
Pid exec(string[] args, uint numReexecs, string[] channels)

Re-executes the program.

openInBrowser
auto openInBrowser(string url)

Opens up the passed URL in a web browser.

resourceBaseDirectory
auto resourceBaseDirectory()

Divines the default resource base directory, depending on what platform we're currently running.

See Also

Meta