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

"suspended (tty output)" on exit, when node is run in the background #28612

Closed
corwin-of-amber opened this issue Jul 9, 2019 · 5 comments
Closed
Labels
tty Issues and PRs related to the tty subsystem.

Comments

@corwin-of-amber
Copy link

  • Version: v12.6.0
  • Platform: Darwin 18.6.0 Darwin Kernel Version 18.6.0: Thu Apr 25 23:16:27 PDT 2019; root:xnu-4903.261.4~2/RELEASE_X86_64 x86_64
  • Subsystem: unknown

Run any script with & in the shell, and the process hangs after it finishes instead of exiting.
AFAICT this is a regression from v12.0.0.

% node -e "console.log(5)" &
% 5
[1]  + suspended (tty output)  node -e "console.log(5)"
%
@cjihrig
Copy link
Contributor

cjihrig commented Jul 9, 2019

Does #28535 fix the issue for you?

@corwin-of-amber
Copy link
Author

Ah this seems very relevant, it was only fixed three days ago so I guess that means I will have to try a nightly build or something.

@addaleax addaleax added the tty Issues and PRs related to the tty subsystem. label Jul 9, 2019
@Fishrock123
Copy link
Contributor

Fishrock123 commented Jul 10, 2019

@corwin-of-amber Here's a (relevant, last night) nightly build in case you are unable to build and tests it yourself: https://nodejs.org/download/nightly/v13.0.0-nightly20190710fe4d53df51/

@corwin-of-amber
Copy link
Author

Yes, definitely works, that one. Many thanks!

@bnoordhuis
Copy link
Member

#28535 was merged so I'll go ahead and close out this issue as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tty Issues and PRs related to the tty subsystem.
Projects
None yet
Development

No branches or pull requests

5 participants