Skip to content

Commit 83eab9a

Browse files
faustinoaqysbaddaden
authored andcommitted
Print build output to STDOUT (#193)
* Use Process::Redirect::Inherit
1 parent 3d3a24c commit 83eab9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/build.cr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Shards
3434
Shards.logger.debug "crystal #{args.join(' ')}"
3535

3636
error = IO::Memory.new
37-
status = Process.run("crystal", args: args, output: error, error: error)
37+
status = Process.run("crystal", args: args, output: Process::Redirect::Inherit, error: error)
3838
raise Error.new("Error target #{target.name} failed to compile:\n#{error}") unless status.success?
3939
end
4040
end

0 commit comments

Comments
 (0)