New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Error: Pty seems to have been killed already" when closing cmd.exe or powershell.exe window from the "X" on the right of the tab #98

Closed
corelon opened this Issue May 30, 2018 · 2 comments

Comments

3 participants
@corelon

corelon commented May 30, 2018

When trying to close a CMD.exe or Powershell.exe window from the "X" button on the tab I get the following exception.
This does not happen when I just type "exit" and press Enter.
It does not happen with WSL (have not tried cygwin)
Extraterm version 0.35.1 on Windows 10 1709

[Window Title]
Error

[Main Instruction]
A JavaScript error occurred in the main process

[Content]
Uncaught Exception:
Error: Pty seems to have been killed already
at WindowsPtyAgent.kill (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\node-pty\lib\windowsPtyAgent.js:83:13)
at WindowsTerminal. (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\node-pty\lib\windowsTerminal.js:144:26)
at WindowsTerminal._defer (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\node-pty\lib\windowsTerminal.js:155:24)
at WindowsTerminal.kill (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\node-pty\lib\windowsTerminal.js:139:14)
at WindowsTerminal. (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\node-pty\lib\windowsTerminal.js:134:19)
at WindowsTerminal._defer (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\node-pty\lib\windowsTerminal.js:155:24)
at WindowsTerminal.destroy (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\node-pty\lib\windowsTerminal.js:133:14)
at WindowsConsolePty.destroy (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\extensions\WindowsConsoleSessionBackend\src\WindowsConsolePty.js:66:22)
at ptyTerm.onExit (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\extraterm\src\main_process\pty\PtyManager.js:68:21)
at _listeners.forEach.listener (C:\Users\nikolaos.tzanos\Software\extraterm-0.35.1-win32-x64\resources\app\node_modules\extraterm-event-emitter\main.js:37:45)

[OK]

@sedwards2009

This comment has been minimized.

Owner

sedwards2009 commented May 30, 2018

thanks. I can easily reproduce this bug.

@shanselman

This comment has been minimized.

shanselman commented Nov 12, 2018

Hit this also within a few minutes of my first use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment