https://github.com/bytedance/SandboxFusion/blob/main/sandbox/runners/base.py#L85 对 asyncio.subprocess.Process 对象使用 wait() 等待子进程完成,可能导致死锁,实测发现当输出较大时(约200KB),出现死锁,详见 https://docs.python.org/3/library/asyncio-subprocess.html 中关于 asyncio.subprocess.Process 的 wait 和 communicate 的描述