-
Notifications
You must be signed in to change notification settings - Fork 472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The terminal can't execute the "cd xxx" command #442
Comments
Hey @XitaoLi , we recommend using the Beta SDK (https://e2b.dev/docs/guide/beta-migration) — it has module for terminal ( Here is the implementation (https://github.com/e2b-dev/E2B/blob/beta/packages/python-sdk/e2b/sandbox_sync/pty/main.py) and here is an analogous usage in our CLI (in TypeScript) (https://github.com/e2b-dev/E2B/blob/beta/packages/cli/src/terminal.ts#L12). If you want just to execute a command, the |
@ValentaTomas Thanks for your quick response. I have tried the Any other suggestions for connecting an actual terminal emulator using E2B? It's essential for LLM Agnets. |
We added the A very brief example of the usage can be found in the SDK automated tests here https://github.com/e2b-dev/E2B/tree/beta/packages/python-sdk/tests/sync/sandbox_sync/pty We are working on more detailed documentation in the meantime. |
With the |
Describe the bug
I want to test if the E2B sandbox executes all commands well, as it's required for LLM Agent to do anything, but some issues appear:
cd
command doesn't work. This may be caused by the fixed parameter "cmd" in the initialization ofTerminalManager
To Reproduce
Steps to reproduce the behavior:
Expected behavior
E2B terminal works as the real terminal.
Terminal commands & output
Desktop:
Any feedback will be helpful.
The text was updated successfully, but these errors were encountered: