diff --git a/lib/mix/lib/mix/shell/io.ex b/lib/mix/lib/mix/shell/io.ex index 6724e327e62..44d1e11e312 100644 --- a/lib/mix/lib/mix/shell/io.ex +++ b/lib/mix/lib/mix/shell/io.ex @@ -103,7 +103,9 @@ defmodule Mix.Shell.IO do Mix.Shell.cmd(command, opts, fn data -> if print_app?, do: print_app() - IO.write(data) + # Due to encoding of shell command on Windows, + # let's write the data as is + IO.binwrite(data) end) end end