Os


Object Hierarchy:

Object hierarchy for Os

Description:

public class Os : Object

Operating-system utility methods.

Os provides simple wrappers for frequently used environment and working directory operations. These helpers are convenient in CLI tools and scripts where process context must be inspected or changed.

Example:

    string? oldCwd = Os.cwd ();
Os.chdir ("/tmp");
string? path = Os.get_env ("PATH");


Namespace: Vala.Lang
Package: Valacore

Content:

Static methods:

Creation methods:

Inherited Members:

All known members inherited from class GLib.Object