Skip to main content

set_command

Function set_command 

Source
pub fn set_command(
    seat: &str,
    command: &str,
    timeout: Option<u64>,
) -> Result<String>
Expand description

Set a seat’s wake command, with the guard’s warning when a rule fires.

§Errors

The command is empty, the cloud seat push rule blocks it, or wake.toml cannot be written.