How do I disable shell #5036
Answered
by
cjihrig
sayyidyofa
asked this question in
Q&A
-
https://github.com/nodejs/node/blob/main/lib/child_process.js#L198 |
Beta Was this translation helpful? Give feedback.
Answered by
cjihrig
Jan 25, 2023
Replies: 0 comments 1 reply
-
You can't disable |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
aduh95
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can't disable
shell
forexec()
andexecSync()
. Those methods are specifically for running commands in the context of a shell. If you don't want to use a shell, use one of the other child process methods.