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

child_process: throw different error message for executing batch files w/o shell: true #52685

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RedYetiDev
Copy link
Member

@RedYetiDev RedYetiDev commented Apr 25, 2024

This PR changes the error thrown when executing batch files without shell: true from an standard UV_EINVAL error to one with a few more details on how to resolve the issue.

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run. labels Apr 25, 2024
@RedYetiDev RedYetiDev added the child_process Issues and PRs related to the child_process subsystem. label Apr 25, 2024
@RedYetiDev RedYetiDev removed the c++ Issues and PRs that require attention from people who are familiar with C++. label Apr 25, 2024
@RedYetiDev RedYetiDev changed the title child_process: throw TypeError for executing batch files w/o shell: true child_process: throw different error message for executing batch files w/o shell: true Apr 25, 2024
@RedYetiDev RedYetiDev requested a review from aduh95 May 6, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
child_process Issues and PRs related to the child_process subsystem. lib / src Issues and PRs related to general changes in the lib or src directory. needs-ci PRs that need a full CI run.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants