commands.run()
import { Sandbox } from 'novita-sandbox/code-interpreter' const sandbox = await Sandbox.create() const result = await sandbox.commands.run('ls -l') console.log(result) await sandbox.kill()
Was this page helpful?