e2b-dev / E2B

Secure open source cloud runtime for AI apps & AI agents
https://e2b.dev/docs
Apache License 2.0
7.02k stars 458 forks source link

Add timeout for `process.wait()` #253

Closed jakubno closed 3 months ago

jakubno commented 11 months ago

If the process doesn't end in reasonable time, it usually means there's some issue and the process could be stuck or running infinitely.

E2B-439

ValentaTomas commented 3 months ago

The process (command) request timeout and wait timeout (how long the process itself can run) are separated arguments in the new beta SDK.