-
Notifications
You must be signed in to change notification settings - Fork 740
Closed
Labels
execIssues specific to the shell.exec() APIIssues specific to the shell.exec() APIfeaturehigh prioritysecurity
Milestone
Description
First of all, I just want to say thanks for writing shelljs. It cleans up my code a lot.
I need to invoke commands with shell.exec()
, however, those commands will include some input from external sources, to be passed as arguments to system executables. Is there a "safe" way to do this? I was hoping for the classic array syntax, like:
shell.exec(["ls", "-l", "/some/path"])
Though this doesn't seem to be implemented. It doesn't appear nodejs itself even has a shell escape function neither. Any plans on this front?
binki, cosmopetrich, luiseduardobrito, cloutiertyler, agauniyal and 12 more
Metadata
Metadata
Assignees
Labels
execIssues specific to the shell.exec() APIIssues specific to the shell.exec() APIfeaturehigh prioritysecurity