Crate system_env
source ·Structs§
- Configuration for one or many system dependencies (packages).
- Configuration for a specific package manager vendor. The fields define commands and arguments for common operations.
- Represents the current system, including architecture, operating system, and package manager information.
Enums§
- The types of commands that are currently supported by package managers.
- A system dependency name in multiple formats.
- The CLI argument format for enabling interactive mode.
- Architecture of the system environment.
- Represents a system dependency (one or many packages) to install.
- Libc being used in the system environment.
- Operating system of the current environment.
- Package manager of the system environment.
- The CLI argument format for including the package version to install.
Functions§
- Create a new process
Command
and append the provided arguments. If the provided binary name is not an absolute path, we’ll attempt to find it onPATH
usingfind_command_on_path
. - Return an absolute path to the provided command by checking
PATH
. - Return true if the provided command/program (without extension) is available on
PATH
.