terminal
Variable: terminal
const terminal: {
eventEmitter: CustomEventEmitter;
executeCommand: (command: string, returnEmptyStringOnSuccess: boolean) => Promise<CommandOutput | CommandError | CommandFinish>;
executeCommandRunUntilError: (command: string, executeInMain: boolean) => Promise<CommandError>;
executeCommandRunUntilInterrupt: (command: string, executeInMain: boolean) => Promise<CommandError>;
executeCommandWithStream: CustomEventEmitter;
sendManualInterrupt: Promise<TerminalInterruptResponse>;
};
Defined in: packages/codeboltjs/src/modules/terminal.ts:30
A module for executing commands in a terminal-like environment via WebSocket.