Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to terminate hanging subprocesses #1140

Merged
merged 3 commits into from
Aug 7, 2024
Merged

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Aug 6, 2024

Fixes #1137.

I reworked the example so it avoids subprocess.stdout/subprocess.stderr Node.js streams since we've been trying to recommend alternatives (transforms and/or async iteration), so that users can await the promise returned by execa() directly.

@ehmicky ehmicky force-pushed the doc-timeout branch 6 times, most recently from 97d04cc to 67476b5 Compare August 6, 2024 23:41
docs/termination.md Outdated Show resolved Hide resolved
@sindresorhus sindresorhus merged commit c0b6efc into main Aug 7, 2024
14 checks passed
@sindresorhus sindresorhus deleted the doc-timeout branch August 7, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Timeout / cancel stuck process
2 participants