github.com/cmalfait/terraform@v0.11.12-beta1/helper/wrappedstreams/streams_other.go (about) 1 // +build !windows 2 3 package wrappedstreams 4 5 import ( 6 "os" 7 ) 8 9 func initPlatform() { 10 // The standard streams are passed in via extra file descriptors. 11 wrappedStdin = os.NewFile(uintptr(3), "stdin") 12 wrappedStdout = os.NewFile(uintptr(4), "stdout") 13 wrappedStderr = os.NewFile(uintptr(5), "stderr") 14 }