lib/chake/backend.rb in chake-0.15 vs lib/chake/backend.rb in chake-0.16

- old
+ new

@@ -21,10 +21,10 @@ node.path + '/' end def run(cmd) printf "%#{Node.max_node_name_length}s: $ %s\n", node.hostname, cmd - output = IO.popen(command_runner + [cmd]) + output = IO.popen(command_runner + [cmd], err: [:child, :out]) output.each_line do |line| printf "%#{Node.max_node_name_length}s: %s\n", node.hostname, line.strip end output.close if $?