Yeah, good catch! I鈥檝e actually taken care of this in Sadhan. I鈥檓 merging "stderr" into "stdout" using "asyncio.subprocess.STDOUT", so both streams are read together before checking for the sentinel marker. But yeah, I can definitely see how this could become a nasty bug with a persistent shell if the streams were handled separately. Thanks for pointing it out! 馃檶