Skip to main content

start_command

Function start_command 

Source
pub async fn start_command(
    command: &str,
    _attached: bool,
) -> Result<ProcessHandle, Error>
Expand description

Start a command execution without waiting for completion

§Arguments

  • command - Command to execute
  • attached - If true, stream output to console

§Returns

Process handle