github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/drivers/shared/executor/pty_windows.go (about)

     1  //go:build windows
     2  // +build windows
     3  
     4  package executor
     5  
     6  import (
     7  	"fmt"
     8  	"io"
     9  	"os"
    10  	"syscall"
    11  )
    12  
    13  func sessionCmdAttr(tty *os.File) *syscall.SysProcAttr {
    14  	return &syscall.SysProcAttr{}
    15  }
    16  
    17  func setTTYSize(w io.Writer, height, width int32) error {
    18  	return fmt.Errorf("unsupported")
    19  
    20  }
    21  
    22  func isUnixEIOErr(err error) bool {
    23  	return false
    24  }