We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96fd68a commit 3d303c6Copy full SHA for 3d303c6
lib/elixir_make/compiler.ex
@@ -104,7 +104,11 @@ defmodule ElixirMake.Compiler do
104
opts = [
105
# There is no guarantee the command will return valid UTF-8,
106
# especially on Windows, so don't try to interpret the stream
107
- into: IO.binstream(:stdio, :line),
+ into:
108
+ if(match?({:win32, _}, :os.type()),
109
+ do: IO.binstream(:stdio, :line),
110
+ else: IO.stream(:stdio, :line)
111
+ ),
112
stderr_to_stdout: true,
113
cd: cwd,
114
env: env
0 commit comments