feat(watchdog): add auto boot up for watchdog progress
This commit is contained in:
12
watchdog/watchdog_build_windows.go
Normal file
12
watchdog/watchdog_build_windows.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//go:build windows
|
||||
|
||||
package watchdog
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func configureWatchdogCommand(cmd *exec.Cmd) {
|
||||
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
||||
}
|
||||
Reference in New Issue
Block a user