running_under_snap


Description:

public static bool running_under_snap () throws Error

Detects if you are running inside of a Snap sandbox.

See also: [[email protected]_under_sandbox].

Returns:

true if the current process is running under a Snap sandbox, or false if either unsandboxed or an error was encountered in which case throws will be set




2022 vala-language.org