13 lines
261 B
Go
13 lines
261 B
Go
![]() |
package proc
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
// OutputRedirect Specifies where the target program output will be redirected to.
|
||
|
// Only one of "Path" and "File" should be set.
|
||
|
type OutputRedirect struct {
|
||
|
// Path File path.
|
||
|
Path string
|
||
|
// File Redirect file.
|
||
|
File *os.File
|
||
|
}
|