|Purpose:||Run a command and hides its STDOUT and STDERR output unless the command fails|
|Format:||CHRONIC [/R] command ...|
CHRONIC runs a command and hides its STDOUT and STDERR output unless the command fails (i.e., the return value is != 0). If the command succeeds, no output is displayed.
CHRONIC will display the STDOUT and STDERR output separately. For example:
c:\> CHRONIC testcommand
Exit code: 2
stdout output here ...
stderr output here ...
CHRONIC will only display the STDOUT: / STDERR: labels if the command actually wrote to the matching output.
|/R||Display the output if the command writes to STDERR. If /R is not specified, CHRONIC will only display the output if the command returns a non-zero exit code.|