Skip to content
This repository was archived by the owner on Sep 4, 2026. It is now read-only.
This repository was archived by the owner on Sep 4, 2026. It is now read-only.

Child process is not killed on SIGTERM #88

Description

@mkscrg

cli.js does not kill the child process before exiting on SIGTERM.

Repro:

$ ./node_modules/.bin/flow server 2>/dev/null &
[1] 10415
$ kill -s SIGTERM 10415
$ ps ax | grep flow
10416 s002  S      0:00.85 .../node_modules/flow-bin/flow-osx-v0.57.3/flow server src
10417 s002  S      0:00.01 .../node_modules/flow-bin/flow-osx-v0.57.3/flow
10418 s002  S      0:00.01 .../node_modules/flow-bin/flow-osx-v0.57.3/flow
10419 s002  S      0:00.02 .../node_modules/flow-bin/flow-osx-v0.57.3/flow
10420 s002  S      0:00.01 .../node_modules/flow-bin/flow-osx-v0.57.3/flow
...

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions