Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Path with spaces in Windows

  • Loading branch information...
commit 64eba840ff222dee78d211a4bb8294c2a42b26d1 1 parent c4f0e85
@lukefx lukefx authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/execjs/external_runtime.rb
View
2  lib/execjs/external_runtime.rb
@@ -143,7 +143,7 @@ def which(command)
Array(command).each do |name|
name, args = name.split(/\s+/, 2)
result = if ExecJS.windows?
- `#{ExecJS.root}/support/which.bat #{name}`
+ `"#{ExecJS.root}/support/which.bat" #{name}`
else
`command -v #{name} 2>/dev/null`
end
Please sign in to comment.
Something went wrong with that request. Please try again.