MCPcopy Index your code
hub / github.com/Monibuca/engine / CreateShutdownScript

Function CreateShutdownScript

util/windows.go:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9)
10
11func CreateShutdownScript() error{
12 return ioutil.WriteFile("shutdown.bat", []byte(fmt.Sprintf("taskkill /pid %d -t -f", os.Getpid())), 0777)
13}

Callers 1

RunFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected