kameloso.platform

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

Members

Classes

ExecException
class ExecException

Exception thrown when an execvp action failed.

Functions

configurationBaseDirectory
auto configurationBaseDirectory()

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

currentPlatform
auto currentPlatform()

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

execvp
Pid execvp(string[] args)

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