You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried running the example below from the documentation, the output simply echoed back my input command (echo 'Hello, world!') rather than displaying the expected response. Additionally, I frequently encounter that error Error executing command: Error: Pitcher message shell/in timed out
Note: I don't get any issues when i use sandbox.shells.run directly, all issues occur when i create a new shell
const sandbox = await sdk.sandbox.create();
// Create a new shell (bash is default)
const shell = sandbox.shells.create('bash');
// Listen to shell output
const shellListenDisposer = shell.onOutput((output) => {
console.log(output);
});
// Send commands to the shell
await shell.write("echo 'Hello, world!'");
// Kill the shell when done
await shell.kill();
// Dispose the listener when done
shellListenDisposer.dispose();
The text was updated successfully, but these errors were encountered:
When I tried running the example below from the documentation, the output simply echoed back my input command (echo 'Hello, world!') rather than displaying the expected response. Additionally, I frequently encounter that error
Error executing command: Error: Pitcher message shell/in timed out
Note: I don't get any issues when i use
sandbox.shells.run
directly, all issues occur when i create a new shellThe text was updated successfully, but these errors were encountered: