We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9350c9 commit 1cd4397Copy full SHA for 1cd4397
1 file changed
docs/cli/exec-command.mdx
@@ -10,6 +10,14 @@ e2b sandbox exec <sandbox-id> <command>
10
```
11
</CodeGroup>
12
13
+### Pipe command from stdin
14
+
15
+You can pipe directly into the sandbox as well:
16
17
+```bash
18
+echo "foo" | e2b sandbox exec <sandbox-id>
19
+```
20
21
### Run in background
22
23
Use the `--background` flag to run a command in the background and return immediately. The command will print the process ID (PID) to stderr:
0 commit comments