Skip to main content

run

Function run 

Source
pub fn run(argv: Vec<String>) -> Result<i32>
Expand description

Runs the oy command dispatcher with arguments that exclude the executable name.

Normal command and delegated opencode exit statuses are returned as Ok(code). Setup, filesystem, process-launch, and protocol failures are returned as errors. This function may update opencode integration config or launch child processes depending on the arguments.

Prefer invoking the oy executable when process isolation or concurrent invocations matter; CLI output configuration is process-global.