Method: Aruba::Processes::SpawnProcess#stderr
- Defined in:
- lib/aruba/processes/spawn_process.rb
#stderr(opts = {}) ⇒ String
Access to stderr of process
224 225 226 227 228 229 230 231 |
# File 'lib/aruba/processes/spawn_process.rb', line 224 def stderr(opts = {}) return @stderr_cache if stopped? wait_for_io opts.fetch(:wait_for_io, io_wait_timeout) do @process.stderr.flush open(@stderr_file.path).read end end |