Cmd

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.os.exec

 

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, macOS
method Output: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Output: ValueTuple<Slice<Byte>, error>

 

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

 

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

 

// .NET, Island, macOS
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>

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

Stdout

 

var Stdout: Writer;

 

Writer Stdout

 

var Stdout: Writer

 

Stdout Writer

StdoutPipe

 

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

 

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

 

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

 

// .NET, Island, macOS
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, macOS
method Output: tuple of (Slice<Byte>, error)
// .NET Standard 2.0
method Output: ValueTuple<Slice<Byte>, error>

 

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

 

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

 

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

Start

 

method Start: error

 

error Start()

 

func Start() -> error

 

func Start() error

StdoutPipe

 

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

 

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

 

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

 

// .NET, Island, macOS
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