Commit 542ac7f3 authored by cjihrig's avatar cjihrig Committed by Trevor Norris
Browse files

child_process: properly support optional args

Currently, a TypeError is incorrectly thrown if the second argument is
an object. This commit allows the args argument to be properly omitted.

Fixes: https://github.com/joyent/node/issues/6068


Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 84952da2
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment