- Use Task Scheduler XML instead of /TR - Run -ensure agent in-process, not child - Add console close and panic protection - Guard nil event channels after stop - Add non-Windows stubs for startup/mutex
10 lines
119 B
Go
10 lines
119 B
Go
//go:build !windows
|
|
|
|
package instance
|
|
|
|
func HideConsole() {}
|
|
|
|
func ShowConsole() {}
|
|
|
|
func ProtectFromConsoleClose() {}
|