Skip to content

Conversation

@DanRibbens
Copy link
Contributor

No description provided.

Comment on lines -98 to -109
process.on('SIGINT', () => {
if (child) {
child.kill('SIGINT')
}
process.exit(0)
})
process.on('SIGTERM', () => {
if (child) {
child.kill('SIGINT')
}
process.exit(0) // Exit the parent process
})
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AlessioGr this threw me off because I could see that child was exported from safelyRunScript and assigned there in a function that I don't think was ever being called.

I need to know how this was supposed to work or risk having a regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant