diff options
author | Valery Piashchynski <[email protected]> | 2020-04-15 21:17:59 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-04-15 21:17:59 +0300 |
commit | 70d231252714bfae963ec8662d0d61a9c3f512c2 (patch) | |
tree | 542900d6166dc1109424b5740607e90954014433 /osutil | |
parent | 6c17c45cc5a52aa58f4b9f140aecae80820b0f0a (diff) |
add function mock for windows
Diffstat (limited to 'osutil')
-rw-r--r-- | osutil/isolate_win.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/osutil/isolate_win.go b/osutil/isolate_win.go index 4a965f42..52fb5d8a 100644 --- a/osutil/isolate_win.go +++ b/osutil/isolate_win.go @@ -10,4 +10,8 @@ import ( // 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 }
\ No newline at end of file |