Skip to content
Xen / docs

Search documentation

English · v0.1.0-demo.2

Type to search the documentation.

    한국어
    Xen / reference v0.1.0-demo.2

    std.env

    APIs documented for this release.

    use std.env;
    APIResult and purpose
    std.env.args()Vec<String>; program arguments excluding the executable name
    std.env.cwd()Result<String, IoError>; working directory

    Arguments exclude the executable name. Environment-variable lookup is unavailable.