执行 AsyncCommandHandle.kill() 会导致阻塞,无法杀死进程。
作者: fsqinghuayu创建于 2025年11月25日更新于 2026年9月3日
标签bugenvd
Describe the bug When I also use asyncio.create_task(run_command()) to start a task and get output in real-time, upon catching an exception (such as request disconnection), I want to abort the task, but kill() does not take effect. After pausing the sandbox and getting_info(), the sandbox status shows as paused, but the process is still running (It's also possible that I misjudged the situation. The Claude model token costs were still being incurred after the sandbox was paused - this might be because the request had already been sent out when I paused the sandbox.)
内容来源: e2b-dev/E2B