diff options
author | Valery Piashchynski <[email protected]> | 2021-12-01 17:36:42 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-12-01 17:36:42 +0300 |
commit | 3c9bd1c081ad7a96ab4f1c7c3308e367fee5f478 (patch) | |
tree | 2475246182900a7341c8b21e50d1da38faa1c928 /utils/isolate_win.go | |
parent | c14e4fa638300ccd96bdedfb0200ed8378eebdf2 (diff) |
remove unused code
Signed-off-by: Valery Piashchynski <[email protected]>
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 -} |