runXmllint

fnCliResult runXmllint(const string[] args, const string input = "")

Runs xmllint and returns its exit code and captured output.

Parameters

argsArguments passed to xmllint.
inputOptional standard input passed to the process.

Returns

The CliResult containing exitCode, stdout, and stderr.