<div dir="ltr"><span style="font-size:13px">Dear LXC Developers,</span><br style="font-size:13px"><br style="font-size:13px">please excuse me, I was not sure if this question belongs on the users or devel list.<div><br></div><div>What's the "standard" way to get the output (stdout, stderr) from lxc.Container.attach_wait()? The method returns only the exit code and writes to sys.stdout and sys.stderr.</div><div>I know that I can temporarily set sys.stdout to a StringIO buffer but I suspect that there must be an easier way.<br><br style="font-size:13px"><span style="font-size:13px">Best regards,</span><br style="font-size:13px"><br style="font-size:13px"><span style="font-size:13px">BB</span><br></div></div>