diff options
Diffstat (limited to 'utils/isolate_win.go')
-rwxr-xr-x | utils/isolate_win.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/utils/isolate_win.go b/utils/isolate_win.go deleted file mode 100755 index 6b6d22e0..00000000 --- a/utils/isolate_win.go +++ /dev/null @@ -1,18 +0,0 @@ -//go:build windows -// +build windows - -package utils - -import ( - "os/exec" - "syscall" -) - -// IsolateProcess change gpid for the process to avoid bypassing signals to php processes. -func IsolateProcess(cmd *exec.Cmd) { - cmd.SysProcAttr = &syscall.SysProcAttr{CreationFlags: syscall.CREATE_NEW_PROCESS_GROUP} -} - -func ExecuteFromUser(cmd *exec.Cmd, u string) error { - return nil -} |