If stdout from a shell does not have a final terminating \n, then that line is not written until the next command is sent.