Skip to content

Do not allow overlapped with execaSync() #949

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

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

ehmicky
Copy link
Collaborator

@ehmicky ehmicky commented Apr 2, 2024

child_process.spawnSync() does not allow overlapped with the stdio option.
This PR improves the validation error message for it. Currently, it crashes the process.

@sindresorhus sindresorhus merged commit 7c2f575 into main Apr 2, 2024
@sindresorhus sindresorhus deleted the validate-overlapped branch April 2, 2024 17:15
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.

2 participants