Use readline to avoid buffering and allow realtime stdout in ST2