mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-09-06 09:02:32 +00:00
13 lines
174 B
Go
13 lines
174 B
Go
|
//go:build windows
|
||
|
|
||
|
package cmd
|
||
|
|
||
|
import (
|
||
|
"os/exec"
|
||
|
"syscall"
|
||
|
)
|
||
|
|
||
|
func prepareBackgroundCommand(cmd *exec.Cmd) {
|
||
|
cmd.SysProcAttr = &syscall.SysProcAttr{HideWindow: true}
|
||
|
}
|