environment::get-app-extension

string environment::get-app-extension (
)

Description

Get the file extension used for applications in the current operating system.

Return Values

The extension used by this OS. Possible values are ".exe" for windows and ".app" for MacOS". GNU/Linux returns an empty string.