git.sr.ht/~pingoo/stdx@v0.0.0-20240218134121-094174641f6e/tools/watchgod/process_windows.go (about)

     1  //go:build windows
     2  // +build windows
     3  
     4  package main
     5  
     6  import (
     7  	"errors"
     8  	"os"
     9  )
    10  
    11  var fatalSignals = []os.Signal{
    12  	os.Interrupt,
    13  	os.Kill,
    14  }
    15  
    16  func terminateGracefully(process *os.Process) error {
    17  	return errors.New("terminateGracefully not implemented on windows")
    18  }
    19  
    20  func gracefulTerminationPossible() bool {
    21  	return false
    22  }