You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on Windows. When I run a build with TeamCity $TEMP a path that contains whitespace. TempFile.new copies the compiler jar over there and then tries to run it. That fails because the jarfile path needs escaping.
I don't know if my fix would work in Linux, for Windows at least we need to quote paths.
Perhaps the best way is to let Ruby do the escaping and rather use system *[command, '--js', tempfile.path], check the exit code, or use popen.
The text was updated successfully, but these errors were encountered:
Tested on Windows. When I run a build with TeamCity $TEMP a path that contains whitespace.
TempFile.new
copies the compiler jar over there and then tries to run it. That fails because the jarfile path needs escaping.I don't know if my fix would work in Linux, for Windows at least we need to quote paths.
Perhaps the best way is to let Ruby do the escaping and rather use
system *[command, '--js', tempfile.path]
, check the exit code, or usepopen
.The text was updated successfully, but these errors were encountered: