Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Don't expose start cmd properties

Tomas Valenta95b979e4f2c0
diff --git a/packages/js-sdk/src/sandbox/index.ts b/packages/js-sdk/src/sandbox/index.ts
index 3f7e98ee8..72232a3e3 100644
--- a/packages/js-sdk/src/sandbox/index.ts
+++ b/packages/js-sdk/src/sandbox/index.ts
@@ -425,17 +425,6 @@ export class Sandbox extends SandboxConnection {
resolvePath(path, this.cwd, this.logger)
}
- /**
- * Get the start cmd process that is running in the sandbox so you can inspect stdout and stderr.
- *
- * If you haven't build the sandbox template with the start cmd option, the stdout/stderr will be empty.
- *
- * @returns Start cmd process object where you can inspect stdout and stderr
- */
- get startCmd() {
- return this._startCmd
- }
-
/**
* URL that can be used to download or upload file to the sandbox via a multipart/form-data POST request.
* This is useful if you're uploading files directly from the browser.
diff --git a/packages/python-sdk/e2b/sandbox/main.py b/packages/python-sdk/e2b/sandbox/main.py
index 8dce3a0b2..73ab4073a 100644
--- a/packages/python-sdk/e2b/sandbox/main.py
+++ b/packages/python-sdk/e2b/sandbox/main.py
@@ -179,16 +179,6 @@ class Sandbox(SandboxConnection):
return _action
- @property
- def start_cmd(self):
- """
- Get the start cmd process that is running in the sandbox so you can inspect stdout and stderr.
- If you haven't build the sandbox template with the start cmd option, the stdout/stderr will be empty.
-
- :returns: Start cmd process object where you can inspect stdout and stderr
- """
- return self._start_cmd
-
@property
def openai(self):
"""