github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/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  }