Skip to content
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

unable to terminate certain processes with keyboard interrupt (ctrl+c) #886

Closed
yqiang opened this issue Jun 21, 2013 · 3 comments
Closed

Comments

@yqiang
Copy link

yqiang commented Jun 21, 2013

OS X 10.8.3
fish 2.0.0

From time to time fish doesn't return command back to shell after exiting an application.

Repro steps:

  • Run fish_config
  • Hit ctrl+c to exit the program

Expected behavior:

  • User is returned to the shell

Actual behavior

  • Shell seems to be stuck trying to exit. The last output is "KeyboardInterrupt" from the python script.

Sample from activity monitor:
https://gist.github.com/yqiang/5834550

@yqiang
Copy link
Author

yqiang commented Jun 21, 2013

FWIW after waiting a while and hitting ctrl+d it returned me back to the shell. Hitting ctrl+d again gave the following error:


Shutting down.
~> 14:46
~> 14:46
~> fish: Unknown command 'delete-or-exit' 14:46
fish: Unknown command '_'
/usr/local/Cellar/fish/2.0.0/share/fish/functions/type.fish (line 3): _ "%s: Could not find '%s'\n"
^
in command substitution
called on line 140 of file '/usr/local/Cellar/fish/2.0.0/share/fish/functions/type.fish',

in function 'type',
called on standard input,
with parameter list '-p command-not-found'

in function 'fish_command_not_found_setup',
called on standard input,
with parameter list 'delete-or-exit'

in event handler: handler for generic event 'fish_command_not_found'

@yqiang
Copy link
Author

yqiang commented Jun 22, 2013

It looks like this is caused by the oh-my-fish bundle. I'm not able to repro after removing it.

@jdx
Copy link
Contributor

jdx commented Feb 11, 2019

I had the same as @yqiang Fixed it with:

$ omf update

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants