pub fn exec_argv_impl(
lua: &Lua,
program: &str,
args: &Table,
opts: Option<&Table>,
default_cwd: &Path,
) -> Result<Table, Error>Expand description
Builds and executes a Command from program + args + opts.
Shared implementation used by both child.rs and ctx_fns.rs
after capability/permission checks have passed.
ยงArguments
program- Executable name or pathargs- Lua table (array) of string argumentsopts- Optional Lua table:{ env_remove = {"VAR1", ...}, cwd = "path" }default_cwd- Fallback working directory (sandbox root)