/internal/storage/dolt: fix windows build issue
This commit is contained in:
15
internal/storage/dolt/procattr_unix.go
Normal file
15
internal/storage/dolt/procattr_unix.go
Normal file
@@ -0,0 +1,15 @@
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package dolt
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
func setDoltServerSysProcAttr(cmd *exec.Cmd) {
|
||||
cmd.SysProcAttr = &syscall.SysProcAttr{
|
||||
Setpgid: true,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user