Fixes shell runner for node.js and v8.
Merge pull request #1960 from yurydelendik/fix-shell

Fixes shell runner for node.js and v8.