Please enable JavaScript to view this site.

CMDebug / TCC-RT Help v. 26

Purpose:Run a command and hides its STDOUT and STDERR output unless the command fails

 

Format:CHRONIC [/R] command ...

 

/R (stderr)

 

Usage:

 

CHRONIC runs a command and hides its STDOUT and STDERR output unless the command fails. If the command succeeds, no output is displayed.

 

CHRONIC will display the STDOUT and STDERR output separately. For example:

 

c:\> CHRONIC testcommand

Exit code: %d

STDOUT:

stdout output here ...

STDERR:

stderr output here ...

 

Options:

 

/RDisplay 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.