Skip to main content

run

Function run 

Source
pub async fn run(command: impl Into<String>) -> Result<CommandResult>
Expand description

Execute a command and return the result

This is the main entry point for simple command execution. Named run instead of $ since $ is not a valid Rust identifier.