Skip to main content

spawn_opencode

Function spawn_opencode 

Source
pub fn spawn_opencode(cmd: &mut Command) -> Result<Child>
Expand description

Spawn opencode with setsid for process group isolation but WITHOUT RLIMIT_AS. The Bun runtime inside opencode uses aggressive virtual memory mappings that exceed the 4 GB limit applied to claude/codex.