Method: Aruba::Processes::ProcessRunner#start
- Defined in:
- lib/aruba/processes/spawn_process.rb
#start ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/aruba/processes/spawn_process.rb', line 23 def start @stdin_r, @stdin_w = IO.pipe @pid = Process.spawn(environment, *command_array, unsetenv_others: true, in: @stdin_r, out: stdout.fileno, err: stderr.fileno, close_others: true, chdir: cwd) end |