Method: Rundoc::CodeCommand::Background::Start#call

Defined in:
lib/rundoc/code_command/background/start.rb

#call(env = {}) ⇒ Object



26
27
28
29
30
31
# File 'lib/rundoc/code_command/background/start.rb', line 26

def call(env = {})
  @spawn.wait(@wait)
  @spawn.check_alive! unless @allow_fail

  @spawn.log.read
end