Skip to content

Commit

Permalink
Merge pull request #2 from donatasbacius/master
Browse files Browse the repository at this point in the history
Can properly execute node on windows
  • Loading branch information
Aleksey Podskrebyshev committed Feb 18, 2015
2 parents b2b46d2 + 41272d1 commit ed81d4d
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 ed81d4d

Please sign in to comment.