Xen / reference v0.1.0-demo.2
std.env
This topic is not available in the selected language or version. Showing the start of this section.
APIs documented for this release.
use std.env;| API | Result 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.