systemctl_cmd

Function systemctl_cmd 

Source
pub fn systemctl_cmd<I, S>(xs: I) -> Result<Output>
where I: IntoIterator<Item = S>, S: AsRef<OsStr>,
Expand description

Runs an arbitrary systemctl command

ยงArguments

  • xs - The args to pass to the systemctl call. xs Implements IntoIterator