Print cmd stdout line-by-line instead of at-exit