reserveStdout property

bool reserveStdout
getter/setter pair

Whether stdout is reserved for machine readable output.

distribute run --json writes its report to stdout, so the human readable log has to move aside for distribute run --json > report.json to produce a parseable file while the operator still sees progress on the terminal. Errors already go to stderr, so this only relocates the rest.

Implementation

static bool reserveStdout = false;