github.com/NeowayLabs/nash@v0.2.2-0.20200127205349-a227041ffd50/stdbin/write/fd_windows.go (about)

     1  package main
     2  
     3  import (
     4  	"io"
     5  	"os"
     6  )
     7  
     8  func specialFile(path string) (io.WriteCloser, bool) {
     9  	if path == "CON" { // holycrap!
    10  		return os.Stdout, true
    11  	}
    12  	return nil, false
    13  }