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

Terminal window crashing on CTRL C when running node express #229

Open
popovidis opened this issue Sep 26, 2023 · 7 comments
Open

Terminal window crashing on CTRL C when running node express #229

popovidis opened this issue Sep 26, 2023 · 7 comments
Assignees

Comments

@popovidis
Copy link

Hi there, I am running zsh by using

	"terminal.integrated.defaultProfile.linux": "zsh",
	"terminal.integrated.profiles.linux": {
		"zsh": {
			"path": "/usr/bin/flatpak-spawn",
			"args": [
				"--host",
				"--env=TERM=xterm-256color",
				"zsh"
			],
			"overrideName": true,
		}
	},

and whenever I run express js server with node (node express.js, no other flags or anything) and then ctrl C it ends up crashing the terminal session while still running the process in the background.

@noonsleeper noonsleeper self-assigned this Oct 20, 2023
@noonsleeper
Copy link
Collaborator

@popovidis are you tried with the latest version, this problem persists?

@noonsleeper
Copy link
Collaborator

@popovidis now you can try with host-spawn

@noonsleeper
Copy link
Collaborator

@popovidis, this is still a thing?

@popovidis
Copy link
Author

@popovidis, this is still a thing?

CTRL + C no longer stops whatever I am running.

image

@noonsleeper
Copy link
Collaborator

Then can we close this as fixed?

@popovidis
Copy link
Author

Then can we close this as fixed?

Pressing CTRL + C should stop what I have running. It's no longer crashing but it's no longer doing its correct purpose.

@noonsleeper
Copy link
Collaborator

noonsleeper commented Jun 8, 2024

That is a common problem with terminals/shells, you can try with ctrl+\, ctrl+shift+c, but in the reality depends on how the app honour the POSIX way, from this side is nothing that we can do about it.

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

2 participants