code: func (p *Process) deleteProcess() error {
  	if p.command == nil || p.command.Process == nil {
  		return nil
  	}
  
  	// Close the process watcher
  	if p.cancelChan != nil {
  		close(p.cancelChan)
  	}
  
  	p.log.Debugf("Process %s deleted", p.name)
  	return nil
  }
docs: // Delete stops the process and internal watcher