Crate system_env

source ·


  • 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.



  • 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 on PATH using find_command_on_path.
  • Return an absolute path to the provided program (without extension) by checking PATH and cycling through PATHEXT extensions.
  • Return true if the provided command/program (without extension) is available on PATH.