Method: ZK::Server::SubProcess#join

Defined in:
lib/zk-server/sub_process.rb

#joinObject

wait for sub-process to exit



26
27
28
29
30
31
32
# File 'lib/zk-server/sub_process.rb', line 26

def join
  @mutex.synchronize do
    logger.debug { "spawned process #{@pid}" }
    @exit_cond.wait_until { @status }
  end
  @status.success?
end