github.com/xmplusdev/xmcore@v1.8.11-0.20240412132628-5518b55526af/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  }