github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/pkg/proc/redirect.go (about)

     1  package proc
     2  
     3  import "os"
     4  
     5  // OutputRedirect Specifies where the target program output will be redirected to.
     6  // Only one of "Path" and "File" should be set.
     7  type OutputRedirect struct {
     8  	// Path File path.
     9  	Path string
    10  	// File Redirect file.
    11  	File *os.File
    12  }