Cmd
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.os.exec
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor (Cmd)
Parameters:
- value:
Args
FIELD Args() As Slice<string>
Dir
Env
FIELD Env() As Slice<string>
var ExtraFiles: Slice<Memory<File>>;
Slice<Memory<File>> ExtraFiles
var ExtraFiles: Slice<Memory<File>>
ExtraFiles Slice<Memory<File>>
FIELD ExtraFiles() As Slice<Memory<File>>
Output
method Output: tuple of (Slice<Byte>, error)
(Slice<Byte>, error) Output()
func Output() -> tuple of (Slice<Byte>, error)
func Output() tuple of (Slice<Byte>, error)
Function Output() As Tuple (Of Slice<Byte>, error)
Path
Process
var Process: Memory<Process>;
var Process: Memory<Process>
FIELD Process() As Memory<Process>
ProcessState
var ProcessState: Memory<ProcessState>;
Memory<ProcessState> ProcessState
var ProcessState: Memory<ProcessState>
ProcessState Memory<ProcessState>
FIELD ProcessState() As Memory<ProcessState>
Run
Start
Function Start() As error
Stderr
Stdin
StdinPipe
method StdinPipe: tuple of (WriteCloser, error)
(WriteCloser, error) StdinPipe()
func StdinPipe() -> tuple of (WriteCloser, error)
func StdinPipe() tuple of (WriteCloser, error)
Function StdinPipe() As Tuple (Of WriteCloser, error)
Stdout
StdoutPipe
method StdoutPipe: tuple of (ReadCloser, error)
(ReadCloser, error) StdoutPipe()
func StdoutPipe() -> tuple of (ReadCloser, error)
func StdoutPipe() tuple of (ReadCloser, error)
Function StdoutPipe() As Tuple (Of ReadCloser, error)
Wait
Args
FIELD Args() As Slice<string>
Dir
Env
FIELD Env() As Slice<string>
var ExtraFiles: Slice<Memory<File>>;
Slice<Memory<File>> ExtraFiles
var ExtraFiles: Slice<Memory<File>>
ExtraFiles Slice<Memory<File>>
FIELD ExtraFiles() As Slice<Memory<File>>
Path
Process
var Process: Memory<Process>;
var Process: Memory<Process>
FIELD Process() As Memory<Process>
ProcessState
var ProcessState: Memory<ProcessState>;
Memory<ProcessState> ProcessState
var ProcessState: Memory<ProcessState>
ProcessState Memory<ProcessState>
FIELD ProcessState() As Memory<ProcessState>
Stderr
Stdin
Stdout
constructor
constructor (Cmd)
Parameters:
- value:
Output
method Output: tuple of (Slice<Byte>, error)
(Slice<Byte>, error) Output()
func Output() -> tuple of (Slice<Byte>, error)
func Output() tuple of (Slice<Byte>, error)
Function Output() As Tuple (Of Slice<Byte>, error)
Run
Start
Function Start() As error
StdinPipe
method StdinPipe: tuple of (WriteCloser, error)
(WriteCloser, error) StdinPipe()
func StdinPipe() -> tuple of (WriteCloser, error)
func StdinPipe() tuple of (WriteCloser, error)
Function StdinPipe() As Tuple (Of WriteCloser, error)
StdoutPipe
method StdoutPipe: tuple of (ReadCloser, error)
(ReadCloser, error) StdoutPipe()
func StdoutPipe() -> tuple of (ReadCloser, error)
func StdoutPipe() tuple of (ReadCloser, error)
Function StdoutPipe() As Tuple (Of ReadCloser, error)
Wait