Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

feat(kill): Propagate SIGTERM to created process #20

Merged
merged 1 commit into from Jul 13, 2016

Conversation

marcioj
Copy link
Contributor

@marcioj marcioj commented Jul 13, 2016

I'm using cross-env with concurrently. There is a option to kill other processes when one of them exit. But the process using cross-env never exit, because the SIGTERM is not propagated to the child process. This PR fix this issue.

@codecov-io
Copy link

Current coverage is 100%

Merging #20 into master will not change coverage

@@           master   #20   diff @@
===================================
  Files           1     1          
  Lines          32    36     +4   
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
+ Hits           32    36     +4   
  Misses          0     0          
  Partials        0     0          

Powered by Codecov. Last updated by f26a2af...77f3b3a

@kentcdodds
Copy link
Owner

Looks good. Though I think this is likely to be a breaking change so I'll going to bump the major version for this one. Thanks!

@kentcdodds kentcdodds merged commit 8ff5555 into kentcdodds:master Jul 13, 2016
@marcioj marcioj deleted the sigterm branch July 13, 2016 13:58
@marcioj
Copy link
Contributor Author

marcioj commented Jul 13, 2016

Thanks @kentcdodds !

I'm unsure if this is a major break change, because the public API didn't changed.
Off course the behavior changed, but I think it's changed to an expected behavior IMO.

@kentcdodds
Copy link
Owner

Right, but I thought it's best to be safe. This has been released as 2.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants