child_process: make fork() execPath configurable
authorBradley Meck <bradley.meck@gmail.com>
Fri, 4 Jan 2013 19:58:35 +0000 (13:58 -0600)
committerBen Noordhuis <info@bnoordhuis.nl>
Sun, 6 Jan 2013 21:55:30 +0000 (22:55 +0100)
commit70ad9bbcbda192842b1e52159c5ee9d4a77e6902
tree505271a18426121395922776b1702f7ef0edf622
parent3f76419a04da48b92b50b51450685b8565886200
child_process: make fork() execPath configurable

Allows for arbitrary path to executable spawned using `fork`. This
fixes some issues around running multiple versions of node with workers
and allows arbitrary IPC with compatible executables.

Fixes #3248.
doc/api/child_process.markdown
lib/child_process.js
test/simple/test-child-process-fork-exec-path.js [new file with mode: 0755]