mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-13 02:28:08 +00:00
17 lines
278 B
Go
17 lines
278 B
Go
|
|
// Copyright (c) Tailscale Inc & AUTHORS
|
||
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
||
|
|
|
||
|
|
package main
|
||
|
|
|
||
|
|
import (
|
||
|
|
"golang.org/x/sys/windows"
|
||
|
|
)
|
||
|
|
|
||
|
|
func init() {
|
||
|
|
register("RestartableProcess", RestartableProcess)
|
||
|
|
}
|
||
|
|
|
||
|
|
func RestartableProcess() {
|
||
|
|
windows.SleepEx(windows.INFINITE, false)
|
||
|
|
}
|