Method: AssLauncher::Support::Shell::ProcessHolder#wait

Defined in:
lib/ass_launcher/support/shell/process_holder.rb

#waitself

Wait for thread exit

Returns:

  • (self)

Raises:



195
196
197
198
199
# File 'lib/ass_launcher/support/shell/process_holder.rb', line 195

def wait
  return self unless alive?
  thread.join
  self
end