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

Cosmic Terminal freezes when running the exit command #191

Open
VPeti1 opened this issue May 1, 2024 · 10 comments
Open

Cosmic Terminal freezes when running the exit command #191

VPeti1 opened this issue May 1, 2024 · 10 comments

Comments

@VPeti1
Copy link

VPeti1 commented May 1, 2024

If i type in the 'exit' command into Cosmic Terminal that tab just freezes. This also happens if i pkill the shell.

@VPeti1 VPeti1 changed the title Cosmic Terminal crashes when running the exit command Cosmic Terminal freezes when running the exit command May 1, 2024
@ChocolateLoverRaj
Copy link
Contributor

When I type exit it exits without freezing.

@leviport
Copy link
Member

leviport commented May 7, 2024

Same for me running Pop with COSMIC DE.

@VPeti1 can you share some details about which OS and DE you're running when this happens?

@VPeti1
Copy link
Author

VPeti1 commented May 7, 2024

Im using Arch linux with the Cosmic DE. I had built Cosmic Terminal from source using just

@VPeti1
Copy link
Author

VPeti1 commented May 7, 2024

image
It just hangs like that. I am using the fish shell maybe that's the problem

@ChocolateLoverRaj
Copy link
Contributor

I'm on NixOS. I tried it with the package from nixos unstable and also running cargo r from source. I'm using bash.

@MoSal
Copy link
Contributor

MoSal commented May 8, 2024

@VPeti1

What happens if you run:

  1. kill $fish_pid
  2. kill -9 $fish_pid
  3. kill $(ps -o ppid= -p $fish_pid)

@VPeti1
Copy link
Author

VPeti1 commented May 11, 2024

@MoSal It freezes the terminal aswell

@MoSal
Copy link
Contributor

MoSal commented May 11, 2024

@VPeti1
All three commands? even the third one?

If yes, what happens if you run:

kill -9 $(ps -o ppid= -p $fish_pid)

@VPeti1
Copy link
Author

VPeti1 commented May 12, 2024

@MoSal Then it closes Cosmic terminal but the other ones just freeze the terminal

@surrealreverie
Copy link

Not sure if this is relevant, but for each profile there is an option called "Hold" which prevents the terminal from closing even if the child process is terminated.

hold option

If you have set a default profile, or opened a new tab with a profile, try disabling this option on that profile, and then try exiting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants