node
node copied to clipboard
child_process: improve docs and validate strings in exec and spawn
I went through the exec
, execFile
, spawn
, execSync
, execFileSync
and spawnSync
functions in child_process
and:
- edited the comments describing their signatures to reflect the actual parameter names
- edited all the functions to properly validate their string parameters