mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
14 lines
240 B
Go
14 lines
240 B
Go
//go:build windows
|
|
|
|
package global
|
|
|
|
import (
|
|
"syscall"
|
|
|
|
"golang.org/x/sys/windows"
|
|
)
|
|
|
|
func GetSysProcAttr() *syscall.SysProcAttr {
|
|
return &syscall.SysProcAttr{CreationFlags: syscall.CREATE_NEW_PROCESS_GROUP | windows.DETACHED_PROCESS}
|
|
}
|