Skip to content

How do I disable shell #5036

Answered by cjihrig
sayyidyofa asked this question in Q&A
Jan 25, 2023 · 0 comment · 1 reply
Discussion options

You must be logged in to vote

You can't disable shell for exec() and execSync(). 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.

Replies: 0 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by aduh95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants