github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/pkg/proc/redirector_windows.go (about) 1 //go:build windows 2 // +build windows 3 4 package proc 5 6 import ( 7 "io" 8 "os" 9 ) 10 11 func Redirector() (reader io.ReadCloser, output OutputRedirect, err error) { 12 reader, output.File, err = os.Pipe() 13 14 return reader, output, err 15 }