Skip to content

Commit

Permalink
Compiler: remove extra shell argument when executing macro run (cry…
Browse files Browse the repository at this point in the history
  • Loading branch information
asterite authored and RX14 committed Jan 6, 2018
1 parent 161c17a commit 525ea49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/crystal/macros/macros.cr
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Crystal::Program

out_io = IO::Memory.new
err_io = IO::Memory.new
Process.run(compiled_file, args: args, shell: true, output: out_io, error: err_io)
Process.run(compiled_file, args: args, output: out_io, error: err_io)
MacroRunResult.new(out_io.to_s, err_io.to_s, $?)
end

Expand Down

0 comments on commit 525ea49

Please sign in to comment.