Expand description
Helpers for working with command lines.
Provides CommandLine
and the accompanying macro cmd!
, which abstract the trouble of
assembling command lines for Environment
s. Most importantly,
CommandLine
offers an Environment
-agnostic way of requesting
privileges for command execution. This is useful when interacting with system package managers,
for example, which often require root privileges for installation or updating caches.
See CommandLine::privileged
for more information.
Macros§
- cmd
- Conveniently create
CommandLine
s.
Structs§
- Command
Line - Convenient container for commandlines to execute in an
crate::env::Environment
.