Skip to content

Commit

Permalink
Can properly execute node on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Donatas Bacius committed Feb 18, 2015
1 parent b2b46d2 commit 41272d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/isIojs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ module.exports = (function () {
if (~[ 'v1.0.0', 'v1.0.1' ].indexOf(process.version)) {
return true;
}
return /iojs\.org/.test(cp.execSync(process.execPath + ' -h', { encoding: 'ascii' }));
return /iojs\.org/.test(cp.execSync('"' + process.execPath + '" -h', { encoding: 'ascii' }));
})();

0 comments on commit 41272d1

Please sign in to comment.