boltpkg / boltpkg/bolt

Bolt exec child process's output logs after the parent has terminated

Open
#156 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.4k
Forks
97
PR merge metrics
No merged PRs in 30d

Description

| Title | Description
| --------------------|------------
| Version | `0.19.3`
| Type | Issue
| node | `8.9.1`
| Operating System | darwin
| Short Description | Bolt exec child process's output logs after the parent has terminated
| Detailed description| Basically in the case where you run `bolt ws exec` and one of the spawned processes terminates with a non-zero exit code, the other processes currently running will still spit out there logs (as `stidio` is inherited) but after the top level process has exited. This results in a broken looking terminal as the prompt reappears but then more stuff is written to the console. The fix for this would be to simply wait for all child processes to exit before existing ourselves.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.