Forward standard error stream from remote execution

This commit is contained in:
Thibault Jouan
2014-07-21 12:45:57 +00:00
parent a033e19583
commit db91eb06cd
14 changed files with 93 additions and 17 deletions

View File

@@ -1,15 +1,16 @@
module Producer
module Core
class Env
attr_reader :input, :output, :registry, :logger
attr_reader :input, :output, :error_output, :registry, :logger
attr_accessor :target, :verbose, :dry_run
def initialize(input: $stdin, output: $stdout, remote: nil, registry: {})
@verbose = @dry_run = false
@input = input
@output = output
@remote = remote
@registry = registry
def initialize(input: $stdin, output: $stdout, error_output: $stderr, remote: nil, registry: {})
@verbose = @dry_run = false
@input = input
@output = output
@error_output = error_output
@remote = remote
@registry = registry
end
def remote