summaryrefslogtreecommitdiff
path: root/utils/isolate_win.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2022-01-15 12:08:20 +0300
committerValery Piashchynski <[email protected]>2022-01-15 12:08:20 +0300
commit5254c8eb27311e2a8a53a4c90c3829cf1238c563 (patch)
treeb51c9a4c1dd4c25adc511498ce0380a7078c5572 /utils/isolate_win.go
parent13609dd03dd0d2fa85b9fb850be787bf4e2ea67f (diff)
Repository content update
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'utils/isolate_win.go')
-rwxr-xr-xutils/isolate_win.go18
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
-}