What risk does calling child_process.exec() with shell interpolation of user data introduce compared to child_process.execFile()?
-
A
execFile() is slower than exec()
-
B
exec() passes input through a shell, enabling command injection; execFile() does not invoke a shell
-
C
execFile() cannot accept arguments
-
D
exec() disables stderr capture