capture
capture command arguments ...Runs a command and captures stdout. At top level, updates captured and status; inside fn, returns owned u8* text that must be freed.
Example
var output = capture printf "hello"
print outputcapture command arguments ...Runs a command and captures stdout. At top level, updates captured and status; inside fn, returns owned u8* text that must be freed.
Example
var output = capture printf "hello"
print output