[][src]Module libcoreinst::util

Functions

cmd_output

Runs the provided Command object, captures its stdout, and swallows its stderr except on failure. Returns a Result describing whether the command failed, and if not, its standard output. Output is assumed to be UTF-8. Errors are adequately prefixed with the full command.