Application doesn't quit cleanly on MacOS while running certain commands #508

Open
opened 2019-02-10 17:45:04 +01:00 by adammathes · 4 comments
adammathes commented 2019-02-10 17:45:04 +01:00 (Migrated from github.com)

On MacOS 10.14.2, running release CRT 1.1.1, closing the last window or explicitly quitting the application will not work and leave CRT in an "application is not responding" state, requiring "Force Stop" to end it.

Reproducible for me -

install cmatrix with something like brew install cmatrix (though this works with some long running commands but not others, I haven't quite figured out why)

Launch CRT

run cmatrix

quit CRT

Application stops responding

On MacOS 10.14.2, running release CRT 1.1.1, closing the last window or explicitly quitting the application will not work and leave CRT in an "application is not responding" state, requiring "Force Stop" to end it. Reproducible for me - install cmatrix with something like brew install cmatrix (though this works with some long running commands but not others, I haven't quite figured out why) Launch CRT run cmatrix quit CRT Application stops responding
neo-anderson commented 2019-03-29 19:57:08 +01:00 (Migrated from github.com)

For me, it stops responding even if nothing is running.

Launch CRT

Quit CRT

Stops responding

For me, it stops responding even if nothing is running. Launch CRT Quit CRT Stops responding
kimslawson commented 2022-09-27 15:28:35 +02:00 (Migrated from github.com)

For me, it stops responding even if nothing is running.

Launch CRT

Quit CRT

Stops responding

+1 for me here, 1.2.0-beta1 on Monterey 12.5.1 running on Apple Silicon.

> For me, it stops responding even if nothing is running. > > Launch CRT > > Quit CRT > > Stops responding > +1 for me here, 1.2.0-beta1 on Monterey 12.5.1 running on Apple Silicon.
neo-anderson commented 2022-11-11 21:23:21 +01:00 (Migrated from github.com)

A workaround is to press ctrl+d to terminate the last shell and CRT will quit.

A workaround is to press ctrl+d to terminate the last shell and CRT will quit.
iconmaster commented 2022-12-16 22:44:01 +01:00 (Migrated from github.com)

A workaround is to press ctrl+d to terminate the last shell and CRT will quit.

This helped me find a solution! I implemented an Automator service with the following AppleScript, and assigned it to show in cool-retro-term only. Also, I assigned the cmd-Q shortcut in cool-retro-term to the service's name.

tell application "System Events"
	keystroke "d" using control down
end tell
> A workaround is to press ctrl+d to terminate the last shell and CRT will quit. This helped me find a solution! I implemented an Automator service with the following AppleScript, and assigned it to show in cool-retro-term only. Also, I assigned the cmd-Q shortcut in cool-retro-term to the service's name. ``` tell application "System Events" keystroke "d" using control down end tell ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seeseemelk/cool-retro-term#508
No description provided.