Without error handling, if node-pty require or pty.spawn throws (bad permissions, missing cwd, stale server), the client gets no response and the terminal hangs with a blinking cursor. Now sends an exit event back.
Without error handling, if node-pty require or pty.spawn throws (bad permissions, missing cwd, stale server), the client gets no response and the terminal hangs with a blinking cursor. Now sends an exit event back.