open-nomad/drivers/shared/executor/pty_windows.go
2023-04-10 15:36:59 +00:00

28 lines
407 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//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
}