sstephenson/execjs — Issue #55: ExecJS aborts when node path includes some spaces
Author: dw3w4at
Created: 2011-11-15 02:13:02+00:00
State: open

Since 0.6.1, NodeJS for Windows installs forcibly "C:\Program Files\nodejs\node.exe" and we cannot customize that path on installer. So that #125 on `lib/execjs/external_runtime.rb`, this line aborts because of executing "C:\Program"
``` def exec_runtime(filename)
output = sh("#{shell_escape(*(@binary.split(' ') << filename))} 2>&1")
if $?.success?
output
else
raise RuntimeError, output
end
end```