Skip to content

Commit

Permalink
[build] Fixing bazel launcher to enforce UTF-8 output encoding to pre…
Browse files Browse the repository at this point in the history
…vent issues in non-English editions of operating systems
  • Loading branch information
barancev committed Mar 19, 2020
1 parent 126be14 commit 10ab20f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rake_tasks/bazel.rb
Expand Up @@ -15,7 +15,7 @@ def self.execute(kind, args, target, &block)
if SeleniumRake::Checks.windows?
cmd = cmd + ["2>&1"]
cmd_line = cmd.join(' ')
cmd_out = `#{cmd_line}`
cmd_out = `#{cmd_line}`.force_encoding("UTF-8")
cmd_exit_code = $?.success?
else
Open3.popen2e(*cmd) do |stdin, stdouts, wait|
Expand Down

0 comments on commit 10ab20f

Please sign in to comment.