tailscale/util/winutil/testdata/testrestartableprocesses/restartableprocess_windows.go
Brad Fitzpatrick c6af5bbfe8 all: add test for package comments, fix, add comments as needed
Updates #cleanup

Change-Id: Ic4304e909d2131a95a38b26911f49e7b1729aaef
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-07-10 09:57:00 -07:00

18 lines
335 B
Go

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// The testrestartableprocesses is a program for a test.
package main
import (
"golang.org/x/sys/windows"
)
func init() {
register("RestartableProcess", RestartableProcess)
}
func RestartableProcess() {
windows.SleepEx(windows.INFINITE, false)
}