11 lines
227 B
Go
11 lines
227 B
Go
|
|
//go:build windows
|
||
|
|
|
||
|
|
package tools
|
||
|
|
|
||
|
|
import "os/exec"
|
||
|
|
|
||
|
|
func setSysProcAttrForPty(cmd *exec.Cmd) {
|
||
|
|
// Windows doesn't support Setsid, and PTY is not available on Windows anyway.
|
||
|
|
// This function is a no-op for Windows builds.
|
||
|
|
}
|