Skip to content

fish may hang on exit if another process is foreground #7901

@ridiculousfish

Description

@ridiculousfish

On Mac, with fish 3.2.1: Launch fish, launch zsh from within fish, and then close the window. We will see that zsh exits but fish hangs.

fish is hanging because it is trying to assign the tty back to the original owner, but fish is not in control of the tty. Prior to the fix for #7060 this would have succeeded; but with #7060 we allow SIGTTOU, so we get SIGSTOP (which cannot be ignored).

Metadata

Metadata

Labels

bugSomething that's not working as intended

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions