Catch exception on getConsoleWidth for no console lunch.