镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Closed

Description

@corwin-of-amber
  • 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)"
%

Activity

  1. cjihrig commented on Jul 9, 2019

    @cjihrig
    Contributor

    Does #28535 fix the issue for you?

  2. corwin-of-amber commented on Jul 9, 2019

    @corwin-of-amber
    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.

  3. added
    ttyIssues and PRs related to the tty subsystem.
    on Jul 9, 2019
  4. Fishrock123 commented on Jul 10, 2019

    @Fishrock123
    Contributor

    @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/

  5. corwin-of-amber commented on Jul 12, 2019

    @corwin-of-amber
    Author

    Yes, definitely works, that one. Many thanks!

  6. bnoordhuis commented on Jul 15, 2019

    @bnoordhuis
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ttyIssues and PRs related to the tty subsystem.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions