Basic Information

appmixer.e2b.core.RunCommand

1.0.0

Public

Run a shell command inside an E2B sandbox and return its stdout, stderr and exit code.

Input Ports

in

FieldTypeDescription
Sandbox ID text The ID of the sandbox to run the command in, as returned by Create Sandbox.
Command textarea The shell command to execute, e.g. echo hello.
Working Directory text Optional working directory to run the command in, e.g. /home/user.

Output Ports

out

FieldTypeDescription
Stdout string -
Stderr string -
Exit Code integer -

Full Metadata