class Spring::Client::Run

def forward_signal(sig, pid)

def forward_signal(sig, pid)
  Process.kill(sig, -Process.getpgid(pid))
rescue Errno::ESRCH
  # If the application process is gone, then don't block the
  # signal on this process.
  trap(sig, 'DEFAULT')
  Process.kill(sig, Process.pid)
end