Method: Aruba::Processes::SpawnProcess#stdout
- Defined in:
- lib/aruba/processes/spawn_process.rb
#stdout(opts = {}) ⇒ String
Access to stdout of process
205 206 207 208 209 210 211 212 |
# File 'lib/aruba/processes/spawn_process.rb', line 205 def stdout(opts = {}) return @stdout_cache if stopped? wait_for_io opts.fetch(:wait_for_io, io_wait_timeout) do @process.stdout.flush open(@stdout_file.path).read end end |