github.com/v2fly/v2ray-core/v4@v4.45.2/common/platform/ctlcmd/attr_windows.go (about)

     1  //go:build windows
     2  // +build windows
     3  
     4  package ctlcmd
     5  
     6  import "syscall"
     7  
     8  func getSysProcAttr() *syscall.SysProcAttr {
     9  	return &syscall.SysProcAttr{
    10  		HideWindow: true,
    11  	}
    12  }