code: func _pidAlive(pid int) bool {
  	h, err := syscall.OpenProcess(processDesiredAccess, false, uint32(pid))
  	if err != nil {
  		return false
  	}
  
  	var ec uint32
  	if e := syscall.GetExitCodeProcess(h, &ec); e != nil {
  		return false
  	}
  
  	return ec == exit_STILL_ACTIVE
  }
docs: // _pidAlive tests whether a process is alive or not