Import with #import "std/process_capture_linux".

CapturePointer :: struct { value: *u8; }
CaptureArgument :: struct { bytes: [4096]u8; }
CaptureResult :: struct { code: s32; length: s32; error: bool; truncated: bool; }
CaptureOutput :: (arguments: []string, output: []u8) -> CaptureResult

Source ↗ · All modules