Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
onStdout
onStderr
commands.run()
on_stdout
on_stderr
import { Sandbox } from 'novita-sandbox/code-interpreter' const sandbox = await Sandbox.create() const result = await sandbox.commands.run('echo hello; sleep 1; echo world', { onStdout: (data) => { console.log(data) }, onStderr: (data) => { console.log(data) }, }) console.log(result) await sandbox.kill()
Was this page helpful?