Fix issue with input where command is in a pipeline - remove .isatty() from cli code