open-nomad/drivers/shared/executor/pty_windows.go

25 lines
337 B
Go

//go:build windows
// +build windows
package executor
import (
"fmt"
"io"
"os"
"syscall"
)
func sessionCmdAttr(tty *os.File) *syscall.SysProcAttr {
return &syscall.SysProcAttr{}
}
func setTTYSize(w io.Writer, height, width int32) error {
return fmt.Errorf("unsupported")
}
func isUnixEIOErr(err error) bool {
return false
}