github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/drivers/shared/executor/pty_windows.go (about)

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