code: func Kill() {
  	defer func() {
  		if e := recover(); e != nil {
  			beeLogger.Log.Infof("Kill recover: %s", e)
  		}
  	}()
  	if cmd != nil && cmd.Process != nil {
  		// Windows does not support Interrupt
  		if runtime.GOOS == "windows" {
  			cmd.Process.Signal(os.Kill)
  		} else {
  			cmd.Process.Signal(os.Interrupt)
  		}
  
  		ch := make(chan struct{}, 1)
  		go func() {
  			cmd.Wait()
  			ch <- struct{}{}
  		}()
  
  		select {
  		case <-ch:
  			return
  		case <-time.After(10 * time.Second):
  			beeLogger.Log.Info("Timeout. Force kill cmd process")
  			err := cmd.Process.Kill()
  			if err != nil {
  				beeLogger.Log.Errorf("Error while killing cmd process: %s", err)
  			}
  			return
  		}
  	}
  }
docs: // Kill kills the running command process