Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
πβ
fix bs-wrapper tests termination
When sending a SIGTERM, yarn doesn't wait for its children before exiting[1]. This commit removes the use of `yarn` in bs-wrapper. This should be fine, because yarn was only used for setting the environment (mostly PATH). Since bs-wrapper is run via yarn scripts, the environment should already be set up. This commit also changes bs-wrapper to make sure to send SIGTERM only once if child process sends more data to STDOUT before exiting. [1]: yarnpkg/yarn#4667
- Loading branch information