diff --git a/lib/mix/lib/mix/shell/io.ex b/lib/mix/lib/mix/shell/io.ex index ca558030a66..8255d53adfa 100644 --- a/lib/mix/lib/mix/shell/io.ex +++ b/lib/mix/lib/mix/shell/io.ex @@ -104,8 +104,7 @@ defmodule Mix.Shell.IO do Mix.Shell.cmd(command, opts, fn data -> if print_app?, do: print_app() - # Due to encoding of shell command on Windows, write the data as is. - if windows?, do: IO.binwrite(data), else: IO.write(data) + IO.write(data) end) end end