Skip to content

child_process: validate execFile & fork arguments

Rodrigo Muino Tomonari requested to merge github/fork/ChuckLangford/2681 into master

The argument parsing for execFile and fork are inconsistent. execFile throws on one invalid argument but not others. fork has similar logic but the implementation is very different. This update implements consistency for both functions.

Fixes: #2681 (closed)

@jasnell

Merge request reports

Loading