Skip to content

Feature: Make output better for batch jobs

Clark McGrew requested to merge github/fork/ClarkMcGrew/feature/batch_safe into master

This adds preprocessor macros to control the type of output from tool kit. The goal is to limit the output to posix compatible characters [e.g. a-z, A-Z, 0-9, punctuation, etc.]

CPP_GENERIC_TOOLBOX_NOCOLOR -- If defined no ANSI color escape sequences are sent to the output stream. This is appropriate with the output used as input to a script. If this is not set, then use color.

CPP_GENERIC_TOOLBOX_BATCH -- If defined, only use posix compatible characters in the output stream. This is appropriate with directing the output into a batch job log. If this is not set the use UTF-8.

Merge request reports

Loading