Skip to content

Commit 4d2e471

Browse files
authored
Simplify command execution examples
Removed less reliable command execution method.
1 parent 0b3d0c4 commit 4d2e471

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/content/docs/sandbox/guides/execute-commands.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,6 @@ await sandbox.exec('python script.py', {
205205
206206
// Alternative - use absolute path
207207
await sandbox.exec('python /workspace/my-app/script.py');
208-
209-
// Works but less reliable - change directory in command
210-
await sandbox.exec('cd /workspace/my-app && python script.py');
211208
```
212209
</TypeScriptExample>
213210

0 commit comments

Comments
 (0)