child_process: add debug and error details
authorZach Bruggeman <mail@bruggie.com>
Thu, 5 Feb 2015 03:03:18 +0000 (19:03 -0800)
committercjihrig <cjihrig@gmail.com>
Thu, 5 Feb 2015 17:58:15 +0000 (12:58 -0500)
commit9a8f18613da4956c963377e2ad55cdd3dabc32aa
tree2f57a40a20ecb3c1d5b1e7c71e1ebc6b55ba1a15
parent6f7a9784eaef82a1aa6cf53bbbd7224c446876a0
child_process: add debug and error details

This commit adds debug() calls to spawn() and spawnSync(), and
attaches additional information to Error objects.

Fixes: https://github.com/iojs/io.js/issues/720
PR-URL: https://github.com/iojs/io.js/pull/721
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
lib/child_process.js