Don't run if stdout is a terminal