fix: add platform-specific sysproc for Windows and macOS
This commit is contained in:
parent
b2142f6a04
commit
7f145b350e
3 changed files with 19 additions and 5 deletions
7
sysproc_windows.go
Normal file
7
sysproc_windows.go
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
package main
|
||||
|
||||
import "os/exec"
|
||||
|
||||
func setCommandSysProcAttr(cmd *exec.Cmd) {
|
||||
// Windows does not use Setpgid
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue