Skip to main content

io_exec

Function io_exec 

Source
pub fn io_exec(
    args: &[ValueWord],
    ctx: &ModuleContext<'_>,
) -> Result<ValueWord, String>
Expand description

io.exec(cmd, args?) -> object { status: int, stdout: string, stderr: string }

Run a command to completion and capture its output.