gitlab.com/Raven-IO/raven-delve@v1.22.4/pkg/proc/redirector_windows.go (about)

     1  package proc
     2  
     3  import (
     4  	"io"
     5  	"os"
     6  )
     7  
     8  func Redirector() (reader io.ReadCloser, output OutputRedirect, err error) {
     9  	reader, output.File, err = os.Pipe()
    10  
    11  	return reader, output, err
    12  }