I would like to call the tool from another process and parse the output.
Here are my requirements:
- only machine-readable output on STDOUT
- no unexpected output on STDOUT (logs and debut and others are sent to STDERR)
- on success: zero(
0) exit code
- on failure: non-zero (
>1) exit code
machine readable could be XML, JSON, ProtoBuff, predefined string patterns, whatsoever.