code: func (p *Process) signalToProcess(signal os.Signal) error {
  	if p.command == nil || p.command.Process == nil {
  		p.log.Warn("Attempt to send signal to non-running process")
  	}
  
  	return p.command.Process.Signal(signal)
  }
docs: // WaitOnCommand waits until the command completes