Process

Overview

Location

 

constructor

 

constructor()

 

Process()

 

init()

 

Process()

 

constructor(aCommand: String; aArguments: List<String>; aEnvironment: Dictionary<String, String>; aWorkingDirectory: String)

 

Process(String aCommand, List<String> aArguments, Dictionary<String, String> aEnvironment, String aWorkingDirectory)

 

init(_ aCommand: String, _ aArguments: List<String>, _ aEnvironment: Dictionary<String, String>, _ aWorkingDirectory: String)

 

Process(String aCommand, List<String> aArguments, Dictionary<String, String> aEnvironment, String aWorkingDirectory)

Parameters:

  • aCommand:
  • aArguments:
  • aEnvironment:
  • aWorkingDirectory:

Arguments

 

property Arguments: List<String> read write

 

List<String> Arguments { get; set; }

 

var Arguments: List<String> { get{} set{} }

 

List<String> Arguments { __get; __set; }

Command

 

property Command: String read write

 

String Command { get; set; }

 

var Command: String { get{} set{} }

 

String Command { __get; __set; }

CurrentProcessId

 

class method CurrentProcessId(): Int32

 

static Int32 CurrentProcessId()

 

static func CurrentProcessId() -> Int32

 

static Int32 CurrentProcessId()

Environment

 

property Environment: Dictionary<String, String> read write

 

Dictionary<String, String> Environment { get; set; }

 

var Environment: Dictionary<String, String> { get{} set{} }

 

Dictionary<String, String> Environment { __get; __set; }

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

ExitCode

 

property ExitCode: Int32 read

 

Int32 ExitCode { get; }

 

var ExitCode: Int32 { get{} }

 

Int32 ExitCode { __get; }

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize()

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode(): Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType(): Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Id

 

property Id: Int32 read

 

Int32 Id { get; }

 

var Id: Int32 { get{} }

 

Int32 Id { __get; }

IsRunning

 

property IsRunning: Boolean read

 

Boolean IsRunning { get; }

 

var IsRunning: Boolean { get{} }

 

Boolean IsRunning { __get; }

OnErrorData

 

property OnErrorData: Action<String> read

 

Action<String> OnErrorData { get; }

 

var OnErrorData: Action<String> { get{} }

 

Action<String> OnErrorData { __get; }

OnFinished

 

property OnFinished: Action<Int32> read

 

Action<Int32> OnFinished { get; }

 

var OnFinished: Action<Int32> { get{} }

 

Action<Int32> OnFinished { __get; }

OnOutputData

 

property OnOutputData: Action<String> read

 

Action<String> OnOutputData { get; }

 

var OnOutputData: Action<String> { get{} }

 

Action<String> OnOutputData { __get; }

RedirectOutput

 

property RedirectOutput: Boolean read write

 

Boolean RedirectOutput { get; set; }

 

var RedirectOutput: Boolean { get{} set{} }

 

Boolean RedirectOutput { __get; __set; }

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

Run

 

class method Run(aCommand: not nullable String; aArguments: List<String>; aEnvironment: nullable Dictionary<String, String>; aWorkingDirectory: nullable String; out aStdOut: String; out aStdErr: String): Int32

 

static Int32 Run(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, out String aStdOut, out String aStdErr)

 

static func Run(_ aCommand: String, _ aArguments: List<String>, _ aEnvironment: Dictionary<String, String>?, _ aWorkingDirectory: String?, _ aStdOut: String, _ aStdErr: String) -> Int32

 

static Int32 Run(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, __out String aStdOut, __out String aStdErr)

Parameters:

  • aCommand:
  • aArguments:
  • aEnvironment:
  • aWorkingDirectory:
  • aStdOut:
  • aStdErr:

RunAsync

 

class method RunAsync(aCommand: not nullable String; aArguments: List<String>; aEnvironment: nullable Dictionary<String, String>; aWorkingDirectory: nullable String; aStdOutCallback: Action<String>; aStdErrCallback: Action<String>; aFinishedCallback: Action<Int32>): Process

 

static Process RunAsync(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, Action<String> aStdOutCallback, Action<String> aStdErrCallback, Action<Int32> aFinishedCallback)

 

static func RunAsync(_ aCommand: String, _ aArguments: List<String>, _ aEnvironment: Dictionary<String, String>?, _ aWorkingDirectory: String?, _ aStdOutCallback: Action<String>, _ aStdErrCallback: Action<String>, _ aFinishedCallback: Action<Int32>) -> Process

 

static Process RunAsync(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, Action<String> aStdOutCallback, Action<String> aStdErrCallback, Action<Int32> aFinishedCallback)

Parameters:

  • aCommand:
  • aArguments:
  • aEnvironment:
  • aWorkingDirectory:
  • aStdOutCallback:
  • aStdErrCallback:
  • aFinishedCallback:

StandardError

 

property StandardError: String read

 

String StandardError { get; }

 

var StandardError: String { get{} }

 

String StandardError { __get; }

StandardOutput

 

property StandardOutput: String read

 

String StandardOutput { get; }

 

var StandardOutput: String { get{} }

 

String StandardOutput { __get; }

Start

 

method Start(): Boolean

 

Boolean Start()

 

func Start() -> Boolean

 

Boolean Start()

Stop

 

method Stop()

 

void Stop()

 

func Stop()

 

void Stop()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString(): String

 

String ToString()

 

func ToString() -> String

 

String ToString()

WaitFor

 

method WaitFor()

 

void WaitFor()

 

func WaitFor()

 

void WaitFor()

WorkingDirectory

 

property WorkingDirectory: String read

 

String WorkingDirectory { get; }

 

var WorkingDirectory: String { get{} }

 

String WorkingDirectory { __get; }

 

Arguments

 

property Arguments: List<String> read write

 

List<String> Arguments { get; set; }

 

var Arguments: List<String> { get{} set{} }

 

List<String> Arguments { __get; __set; }

Command

 

property Command: String read write

 

String Command { get; set; }

 

var Command: String { get{} set{} }

 

String Command { __get; __set; }

Environment

 

property Environment: Dictionary<String, String> read write

 

Dictionary<String, String> Environment { get; set; }

 

var Environment: Dictionary<String, String> { get{} set{} }

 

Dictionary<String, String> Environment { __get; __set; }

ExitCode

 

property ExitCode: Int32 read

 

Int32 ExitCode { get; }

 

var ExitCode: Int32 { get{} }

 

Int32 ExitCode { __get; }

Id

 

property Id: Int32 read

 

Int32 Id { get; }

 

var Id: Int32 { get{} }

 

Int32 Id { __get; }

IsRunning

 

property IsRunning: Boolean read

 

Boolean IsRunning { get; }

 

var IsRunning: Boolean { get{} }

 

Boolean IsRunning { __get; }

OnErrorData

 

property OnErrorData: Action<String> read

 

Action<String> OnErrorData { get; }

 

var OnErrorData: Action<String> { get{} }

 

Action<String> OnErrorData { __get; }

OnFinished

 

property OnFinished: Action<Int32> read

 

Action<Int32> OnFinished { get; }

 

var OnFinished: Action<Int32> { get{} }

 

Action<Int32> OnFinished { __get; }

OnOutputData

 

property OnOutputData: Action<String> read

 

Action<String> OnOutputData { get; }

 

var OnOutputData: Action<String> { get{} }

 

Action<String> OnOutputData { __get; }

RedirectOutput

 

property RedirectOutput: Boolean read write

 

Boolean RedirectOutput { get; set; }

 

var RedirectOutput: Boolean { get{} set{} }

 

Boolean RedirectOutput { __get; __set; }

StandardError

 

property StandardError: String read

 

String StandardError { get; }

 

var StandardError: String { get{} }

 

String StandardError { __get; }

StandardOutput

 

property StandardOutput: String read

 

String StandardOutput { get; }

 

var StandardOutput: String { get{} }

 

String StandardOutput { __get; }

WorkingDirectory

 

property WorkingDirectory: String read

 

String WorkingDirectory { get; }

 

var WorkingDirectory: String { get{} }

 

String WorkingDirectory { __get; }

 

CurrentProcessId

 

class method CurrentProcessId(): Int32

 

static Int32 CurrentProcessId()

 

static func CurrentProcessId() -> Int32

 

static Int32 CurrentProcessId()

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

Run

 

class method Run(aCommand: not nullable String; aArguments: List<String>; aEnvironment: nullable Dictionary<String, String>; aWorkingDirectory: nullable String; out aStdOut: String; out aStdErr: String): Int32

 

static Int32 Run(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, out String aStdOut, out String aStdErr)

 

static func Run(_ aCommand: String, _ aArguments: List<String>, _ aEnvironment: Dictionary<String, String>?, _ aWorkingDirectory: String?, _ aStdOut: String, _ aStdErr: String) -> Int32

 

static Int32 Run(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, __out String aStdOut, __out String aStdErr)

Parameters:

  • aCommand:
  • aArguments:
  • aEnvironment:
  • aWorkingDirectory:
  • aStdOut:
  • aStdErr:

RunAsync

 

class method RunAsync(aCommand: not nullable String; aArguments: List<String>; aEnvironment: nullable Dictionary<String, String>; aWorkingDirectory: nullable String; aStdOutCallback: Action<String>; aStdErrCallback: Action<String>; aFinishedCallback: Action<Int32>): Process

 

static Process RunAsync(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, Action<String> aStdOutCallback, Action<String> aStdErrCallback, Action<Int32> aFinishedCallback)

 

static func RunAsync(_ aCommand: String, _ aArguments: List<String>, _ aEnvironment: Dictionary<String, String>?, _ aWorkingDirectory: String?, _ aStdOutCallback: Action<String>, _ aStdErrCallback: Action<String>, _ aFinishedCallback: Action<Int32>) -> Process

 

static Process RunAsync(String! aCommand, List<String> aArguments, Dictionary<String, String>? aEnvironment, String? aWorkingDirectory, Action<String> aStdOutCallback, Action<String> aStdErrCallback, Action<Int32> aFinishedCallback)

Parameters:

  • aCommand:
  • aArguments:
  • aEnvironment:
  • aWorkingDirectory:
  • aStdOutCallback:
  • aStdErrCallback:
  • aFinishedCallback:

 

constructor

 

constructor()

 

Process()

 

init()

 

Process()

 

constructor(aCommand: String; aArguments: List<String>; aEnvironment: Dictionary<String, String>; aWorkingDirectory: String)

 

Process(String aCommand, List<String> aArguments, Dictionary<String, String> aEnvironment, String aWorkingDirectory)

 

init(_ aCommand: String, _ aArguments: List<String>, _ aEnvironment: Dictionary<String, String>, _ aWorkingDirectory: String)

 

Process(String aCommand, List<String> aArguments, Dictionary<String, String> aEnvironment, String aWorkingDirectory)

Parameters:

  • aCommand:
  • aArguments:
  • aEnvironment:
  • aWorkingDirectory:

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize()

 

void Finalize()

 

func Finalize()

 

void Finalize()

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode(): Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType(): Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Start

 

method Start(): Boolean

 

Boolean Start()

 

func Start() -> Boolean

 

Boolean Start()

Stop

 

method Stop()

 

void Stop()

 

func Stop()

 

void Stop()

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString(): String

 

String ToString()

 

func ToString() -> String

 

String ToString()

WaitFor

 

method WaitFor()

 

void WaitFor()

 

func WaitFor()

 

void WaitFor()