github.com/hernad/nomad@v1.6.112/drivers/shared/executor/pty_windows.go (about)

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