-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
lib: improve option shell on child_process #27327
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should need some tests.
yes, i will but i’m thinking if this solution is the good way |
@nodejs/child_process do we maybe want to make this OS agnostic and rename this to |
I was thinking about an even more generic approach; make
|
P.S. @himself65, thank you very much for taking this on 🎩 P.P.S. This will need a new test case. IMHO it could fit somewhere above this condition node/test/parallel/test-child-process-exec-any-shells-windows.js Lines 8 to 10 in 528d100
|
@refack I like the array notation. I think that's even a better approach than adding a new option. |
a4aadc6
to
4eb5d63
Compare
I try |
f4ba40d
to
9f5ecf1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to document the new behavior properly (this is especially important on Windows). Other than that it's LGTM % nits.
0f942e7
to
1cf12bb
Compare
The code itself LGTM. We just have to update the documentation to include the information and also add an |
hmmm, let me update the documentation? but I am not good at this. |
@himself65 - this needs a rebase now |
925810c
to
166dfa9
Compare
81fb9b5
to
27d510e
Compare
rebased |
8ae28ff
to
2935f72
Compare
@himself65 this needs a rebase. |
This issue/PR was marked as stalled, it will be automatically closed in 30 days. If it should remain open, please leave a comment explaining why it should remain open. |
Closing this because it has stalled. Feel free to reopen if this PR is still relevant, or to ping the collaborator who labelled it stalled if you have any questions. |
Could this be checked again? 🙂 I don't have the technical knowledge regarding developing Node.js, so I don't know what actually needs to be done, but I would be interested in the ability to define shell parameters. Thanks! 🌞 |
fix #27120
shell add Array option to decode parameters
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes