disable colors if output piped
remvoving unused & extraneous stdin_for_proc code