Skip to main content

run_host

Function run_host 

Source
pub fn run_host(command: &HostCommand) -> Result<(), String>
Expand description

Runs command on this machine and waits for it.

This changes the person’s service manager, so it runs only when the person presses the button that asks for it, and on a background thread.

§Errors

What the command printed when it failed, or why it could not be started.