Skip to main content

run

Function run 

Source
pub fn run(args: SystemCommand, yes: bool) -> Result<()>
Expand description

Run the system management command.

§Errors

Returns an error if:

  • The command is not run on ZoiOS (except for secrets and distro commands).
  • Package validation fails during a distro build.
  • The user aborts a build.
  • Any OS management daemon request fails.

§Errors

Returns an error if the system operation fails.