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()

 

init()

constructor (Cmd)

 

constructor(value: Cmd)

 

Cmd(Cmd value)

 

init(_ value: Cmd)

Parameters:

  • value:

Args

 

var Args: Slice<string>;

 

Slice<string> Args

 

var Args: Slice<string>

 

Args Slice<string>

Dir

 

var Dir: string;

 

string Dir

 

var Dir: string

 

Dir string

Env

 

var Env: Slice<string>;

 

Slice<string> Env

 

var Env: Slice<string>

 

Env Slice<string>

ExtraFiles

 

var ExtraFiles: Slice<Reference<File>>;

 

Slice<Reference<File>> ExtraFiles

 

var ExtraFiles: Slice<Reference<File>>

 

ExtraFiles Slice<Reference<File>>

Output

 

// .NET, Island
method Output: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Output: ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) Output()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> Output()

 

// .NET, Island
func Output() -> (Slice<Byte>, error)
// .NET Standard 2.0
func Output() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func Output() (Slice<Byte>, error)
// .NET Standard 2.0
func Output() ValueTuple<Slice<Byte>, error>

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

Process

 

var Process: Reference<Process>;

 

Reference<Process> Process

 

var Process: Reference<Process>

 

Process Reference<Process>

ProcessState

 

var ProcessState: Reference<ProcessState>;

 

Reference<ProcessState> ProcessState

 

var ProcessState: Reference<ProcessState>

 

ProcessState Reference<ProcessState>

Run

 

method Run: error

 

error Run()

 

func Run() -> error

 

func Run() error

Start

 

method Start: error

 

error Start()

 

func Start() -> error

 

func Start() error

Stderr

 

var Stderr: Writer;

 

Writer Stderr

 

var Stderr: Writer

 

Stderr Writer

Stdin

 

var Stdin: Reader;

 

Reader Stdin

 

var Stdin: Reader

 

Stdin Reader

StdinPipe

 

// .NET, Island
method StdinPipe: tuple of (WriteCloser, error)
// .NET Standard 2.0
method StdinPipe: ValueTuple<WriteCloser, error>

 

// .NET, Island
(WriteCloser, error) StdinPipe()
// .NET Standard 2.0
ValueTuple<WriteCloser, error> StdinPipe()

 

// .NET, Island
func StdinPipe() -> (WriteCloser, error)
// .NET Standard 2.0
func StdinPipe() -> ValueTuple<WriteCloser, error>

 

// .NET, Island
func StdinPipe() (WriteCloser, error)
// .NET Standard 2.0
func StdinPipe() ValueTuple<WriteCloser, error>

Stdout

 

var Stdout: Writer;

 

Writer Stdout

 

var Stdout: Writer

 

Stdout Writer

StdoutPipe

 

// .NET, Island
method StdoutPipe: tuple of (ReadCloser, error)
// .NET Standard 2.0
method StdoutPipe: ValueTuple<ReadCloser, error>

 

// .NET, Island
(ReadCloser, error) StdoutPipe()
// .NET Standard 2.0
ValueTuple<ReadCloser, error> StdoutPipe()

 

// .NET, Island
func StdoutPipe() -> (ReadCloser, error)
// .NET Standard 2.0
func StdoutPipe() -> ValueTuple<ReadCloser, error>

 

// .NET, Island
func StdoutPipe() (ReadCloser, error)
// .NET Standard 2.0
func StdoutPipe() ValueTuple<ReadCloser, error>

Wait

 

method Wait: error

 

error Wait()

 

func Wait() -> error

 

func Wait() error

 

Args

 

var Args: Slice<string>;

 

Slice<string> Args

 

var Args: Slice<string>

 

Args Slice<string>

Dir

 

var Dir: string;

 

string Dir

 

var Dir: string

 

Dir string

Env

 

var Env: Slice<string>;

 

Slice<string> Env

 

var Env: Slice<string>

 

Env Slice<string>

ExtraFiles

 

var ExtraFiles: Slice<Reference<File>>;

 

Slice<Reference<File>> ExtraFiles

 

var ExtraFiles: Slice<Reference<File>>

 

ExtraFiles Slice<Reference<File>>

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

Process

 

var Process: Reference<Process>;

 

Reference<Process> Process

 

var Process: Reference<Process>

 

Process Reference<Process>

ProcessState

 

var ProcessState: Reference<ProcessState>;

 

Reference<ProcessState> ProcessState

 

var ProcessState: Reference<ProcessState>

 

ProcessState Reference<ProcessState>

Stderr

 

var Stderr: Writer;

 

Writer Stderr

 

var Stderr: Writer

 

Stderr Writer

Stdin

 

var Stdin: Reader;

 

Reader Stdin

 

var Stdin: Reader

 

Stdin Reader

Stdout

 

var Stdout: Writer;

 

Writer Stdout

 

var Stdout: Writer

 

Stdout Writer

 

constructor

 

constructor

 

Cmd()

 

init()

constructor (Cmd)

 

constructor(value: Cmd)

 

Cmd(Cmd value)

 

init(_ value: Cmd)

Parameters:

  • value:

Output

 

// .NET, Island
method Output: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Output: ValueTuple<Slice<Byte>, error>

 

// .NET, Island
(Slice<Byte>, error) Output()
// .NET Standard 2.0
ValueTuple<Slice<Byte>, error> Output()

 

// .NET, Island
func Output() -> (Slice<Byte>, error)
// .NET Standard 2.0
func Output() -> ValueTuple<Slice<Byte>, error>

 

// .NET, Island
func Output() (Slice<Byte>, error)
// .NET Standard 2.0
func Output() ValueTuple<Slice<Byte>, error>

Run

 

method Run: error

 

error Run()

 

func Run() -> error

 

func Run() error

Start

 

method Start: error

 

error Start()

 

func Start() -> error

 

func Start() error

StdinPipe

 

// .NET, Island
method StdinPipe: tuple of (WriteCloser, error)
// .NET Standard 2.0
method StdinPipe: ValueTuple<WriteCloser, error>

 

// .NET, Island
(WriteCloser, error) StdinPipe()
// .NET Standard 2.0
ValueTuple<WriteCloser, error> StdinPipe()

 

// .NET, Island
func StdinPipe() -> (WriteCloser, error)
// .NET Standard 2.0
func StdinPipe() -> ValueTuple<WriteCloser, error>

 

// .NET, Island
func StdinPipe() (WriteCloser, error)
// .NET Standard 2.0
func StdinPipe() ValueTuple<WriteCloser, error>

StdoutPipe

 

// .NET, Island
method StdoutPipe: tuple of (ReadCloser, error)
// .NET Standard 2.0
method StdoutPipe: ValueTuple<ReadCloser, error>

 

// .NET, Island
(ReadCloser, error) StdoutPipe()
// .NET Standard 2.0
ValueTuple<ReadCloser, error> StdoutPipe()

 

// .NET, Island
func StdoutPipe() -> (ReadCloser, error)
// .NET Standard 2.0
func StdoutPipe() -> ValueTuple<ReadCloser, error>

 

// .NET, Island
func StdoutPipe() (ReadCloser, error)
// .NET Standard 2.0
func StdoutPipe() ValueTuple<ReadCloser, error>

Wait

 

method Wait: error

 

error Wait()

 

func Wait() -> error

 

func Wait() error