Process

Overview

API to execute and listen to the output of a process.

Location

  • Reference:
    • Elements.dll  .NET, .NET Core 6.0, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
  • Mapped to:
    • Process  .NET, .NET Core 6.0, .NET Standard 2.0
    • Process  Island-macOS, Island-Windows
    • NSTask  Toffee-macOS, ToffeeV2-macOS

 

constructor Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32

Create a new instance of this class.

 

constructor

 

Process()

 

init()

 

Process()

 

Sub New()

ExitCode .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Returns the exit code, fails if still running.

 

property ExitCode: Int32 read;

 

Int32 ExitCode { get; }

 

var ExitCode: Int32 { get{} }

 

ReadOnly Property ExitCode() As Int32

IsRunning .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Returns true if this process is still running.

 

property IsRunning: Boolean read;

 

Boolean IsRunning { get; }

 

var IsRunning: Boolean { get{} }

 

ReadOnly Property IsRunning() As Boolean

JoinAndQuoteArgumentsForCommandLine

Add together and optionally quote arguments for a command line.

 

class method JoinAndQuoteArgumentsForCommandLine(aArguments: not nullable ImmutableList<String>): not nullable String

 

static String! JoinAndQuoteArgumentsForCommandLine(ImmutableList<String>! aArguments)

 

static func JoinAndQuoteArgumentsForCommandLine(_ aArguments: ImmutableList<String>) -> String

 

static String JoinAndQuoteArgumentsForCommandLine(ImmutableList<String> aArguments)

 

Shared Function JoinAndQuoteArgumentsForCommandLine(aArguments As ImmutableList<String>) As String

Parameters:

  • aArguments:

Run (not nullable String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String): Int32

 

static Int32 Run(String! aCommand)

 

static func Run(_ aCommand: String) -> Int32

 

Shared Function Run(aCommand As String) As Int32

Parameters:

  • aCommand:

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?) As Int32

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>) As Int32

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; out aStdOut: String): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, out String aStdOut)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String) As Int32

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; out aStdOut: String; out aStdErr: String): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, out String aStdOut, out String aStdErr)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String, _ aStdErr: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String, _ aStdErr: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String, <OutAttribute> ByRef aStdErr As String) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String): Int32

 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>): Int32

 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; out aStdOut: String): Int32

 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, out String aStdOut)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

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

 

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

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String, _ aStdErr: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String, _ aStdErr: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String, <OutAttribute> ByRef aStdErr As String) As Int32

Parameters:

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

RunAsync (not nullable String): Process .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Run a process (non blocking).

 

class method RunAsync(aCommand: not nullable String): Process

 

static Process RunAsync(String! aCommand)

 

static func RunAsync(_ aCommand: String) -> Process

 

Shared Function RunAsync(aCommand As String) As Process

Parameters:

  • aCommand:

RunAsync (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>, Action<System.Int32>): Process .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Run a process (non blocking).

 

// .NET, .NET Core 6.0, .NET Standard 2.0
class method RunAsync(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<System.Int32>): Process
// Island-macOS, Island-Windows
class method RunAsync(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<RemObjects.Elements.System.Int32>): Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
static Process RunAsync(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<System.Int32> aFinishedCallback)
// Island-macOS, Island-Windows
static Process RunAsync(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<RemObjects.Elements.System.Int32> aFinishedCallback)

 

// Toffee-macOS
static func RunAsync(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> (), _ aFinishedCallback: (Int32) -> ()) -> Process
// ToffeeV2-macOS
static func RunAsync(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> (), _ aFinishedCallback: (Int32) -> ()) -> Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Shared Function RunAsync(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<System.Int32>) As Process
// Island-macOS, Island-Windows
Shared Function RunAsync(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<RemObjects.Elements.System.Int32>) As Process

Parameters:

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

RunAsync (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>, Action<System.Int32>): Process  virtual .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS

Run a process (non blocking).

 

// .NET, .NET Core 6.0, .NET Standard 2.0
class method RunAsync(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<System.Int32>): Process
// Island-macOS, Island-Windows
class method RunAsync(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<RemObjects.Elements.System.Int32>): Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
static Process RunAsync(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<System.Int32> aFinishedCallback)
// Island-macOS, Island-Windows
static Process RunAsync(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<RemObjects.Elements.System.Int32> aFinishedCallback)

 

static func RunAsync(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> (), _ aFinishedCallback: (Int32) -> ()) -> Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Shared Function RunAsync(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<System.Int32>) As Process
// Island-macOS, Island-Windows
Shared Function RunAsync(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<RemObjects.Elements.System.Int32>) As Process

Parameters:

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

RunAsync (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Block, block(String), Block): Process ToffeeV2-macOS

 

static func RunAsync(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: Block, _ aStdErrCallback: (String) -> (), _ aFinishedCallback: Block) -> Process

Parameters:

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

SplitQuotedArgumentString

Split quoted arguments into parts.

 

class method SplitQuotedArgumentString(aArgumentString: not nullable String): not nullable ImmutableList<String>

 

static ImmutableList<String>! SplitQuotedArgumentString(String! aArgumentString)

 

static func SplitQuotedArgumentString(_ aArgumentString: String) -> ImmutableList<String>

 

static ImmutableList<String> SplitQuotedArgumentString(String aArgumentString)

 

Shared Function SplitQuotedArgumentString(aArgumentString As String) As ImmutableList<String>

Parameters:

  • aArgumentString:

SplitQuotedCEscapedArgumentString

 

class method SplitQuotedCEscapedArgumentString(aArgumentString: not nullable String): not nullable ImmutableList<String>

 

static ImmutableList<String>! SplitQuotedCEscapedArgumentString(String! aArgumentString)

 

static func SplitQuotedCEscapedArgumentString(_ aArgumentString: String) -> ImmutableList<String>

 

static ImmutableList<String> SplitQuotedCEscapedArgumentString(String aArgumentString)

 

Shared Function SplitQuotedCEscapedArgumentString(aArgumentString As String) As ImmutableList<String>

Parameters:

  • aArgumentString:

Start .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, ToffeeV2-macOS

Start this process.

 

method Start

 

void Start()

 

func Start()

 

Sub Start()

Start Start()  virtual Toffee-macOS

 

method Start Start()

 

void Start Start( )

 

func Start(Start )

 

void Start Start( )

 

Sub Start Start( As )

Parameters:

  • :

Stop .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, ToffeeV2-macOS

Terminate the process.

 

method Stop

 

void Stop()

 

func Stop()

 

Sub Stop()

Stop Stop()  virtual Toffee-macOS

 

method Stop Stop()

 

void Stop Stop( )

 

func Stop(Stop )

 

void Stop Stop( )

 

Sub Stop Stop( As )

Parameters:

  • :

StringForCommand

Create a command line for a command and argument.

 

class method StringForCommand(aCommand: not nullable String) Parameters(aArguments: nullable ImmutableList<String>): not nullable String

 

static String! StringForCommand(String! aCommand) Parameters(ImmutableList<String>? aArguments)

 

// Toffee
static func StringForCommand(_ aCommand: String, Parameters aArguments: ImmutableList<String>) -> String
// ToffeeV2
static func StringForCommand(_ aCommand: String, Parameters aArguments: ImmutableList<String>?) -> String

 

static String StringForCommand(String aCommand) Parameters(ImmutableList<String> aArguments)

 

Shared Function StringForCommand(aCommand As String) Parameters(aArguments As ImmutableList<String>?) As String

Parameters:

  • aCommand:
  • aArguments:

WaitFor .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, ToffeeV2-macOS

Wait fo the process to finish.

 

method WaitFor

 

void WaitFor()

 

func WaitFor()

 

Sub WaitFor()

WaitFor WaitFor()  virtual Toffee-macOS

 

method WaitFor WaitFor()

 

void WaitFor WaitFor( )

 

func WaitFor(WaitFor )

 

void WaitFor WaitFor( )

 

Sub WaitFor WaitFor( As )

Parameters:

  • :

 

ExitCode .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Returns the exit code, fails if still running.

 

property ExitCode: Int32 read;

 

Int32 ExitCode { get; }

 

var ExitCode: Int32 { get{} }

 

ReadOnly Property ExitCode() As Int32

IsRunning .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Returns true if this process is still running.

 

property IsRunning: Boolean read;

 

Boolean IsRunning { get; }

 

var IsRunning: Boolean { get{} }

 

ReadOnly Property IsRunning() As Boolean

 

JoinAndQuoteArgumentsForCommandLine

Add together and optionally quote arguments for a command line.

 

class method JoinAndQuoteArgumentsForCommandLine(aArguments: not nullable ImmutableList<String>): not nullable String

 

static String! JoinAndQuoteArgumentsForCommandLine(ImmutableList<String>! aArguments)

 

static func JoinAndQuoteArgumentsForCommandLine(_ aArguments: ImmutableList<String>) -> String

 

static String JoinAndQuoteArgumentsForCommandLine(ImmutableList<String> aArguments)

 

Shared Function JoinAndQuoteArgumentsForCommandLine(aArguments As ImmutableList<String>) As String

Parameters:

  • aArguments:

Run (not nullable String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String): Int32

 

static Int32 Run(String! aCommand)

 

static func Run(_ aCommand: String) -> Int32

 

Shared Function Run(aCommand As String) As Int32

Parameters:

  • aCommand:

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?) As Int32

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>) As Int32

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; out aStdOut: String): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, out String aStdOut)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String) As Int32

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; out aStdOut: String; out aStdErr: String): Int32

 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, out String aStdOut, out String aStdErr)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String, _ aStdErr: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String, _ aStdErr: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String, <OutAttribute> ByRef aStdErr As String) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String): Int32

 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>): Int32

 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> ()) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

class method Run(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; out aStdOut: String): Int32

 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, out String aStdOut)

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String) As Int32

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, String, String): Int32 .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Runs a process and blocks until it's done.

 

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

 

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

 

// Toffee-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOut: String, _ aStdErr: String) -> Int32
// ToffeeV2-macOS
static func Run(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOut: String, _ aStdErr: String) -> Int32

 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, <OutAttribute> ByRef aStdOut As String, <OutAttribute> ByRef aStdErr As String) As Int32

Parameters:

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

RunAsync (not nullable String): Process .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Run a process (non blocking).

 

class method RunAsync(aCommand: not nullable String): Process

 

static Process RunAsync(String! aCommand)

 

static func RunAsync(_ aCommand: String) -> Process

 

Shared Function RunAsync(aCommand As String) As Process

Parameters:

  • aCommand:

RunAsync (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>, Action<System.Int32>): Process .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS, ToffeeV2-macOS

Run a process (non blocking).

 

// .NET, .NET Core 6.0, .NET Standard 2.0
class method RunAsync(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<System.Int32>): Process
// Island-macOS, Island-Windows
class method RunAsync(aCommand: not nullable String; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<RemObjects.Elements.System.Int32>): Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
static Process RunAsync(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<System.Int32> aFinishedCallback)
// Island-macOS, Island-Windows
static Process RunAsync(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<RemObjects.Elements.System.Int32> aFinishedCallback)

 

// Toffee-macOS
static func RunAsync(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> (), _ aFinishedCallback: (Int32) -> ()) -> Process
// ToffeeV2-macOS
static func RunAsync(_ aCommand: String, _ aArguments: String..., _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> (), _ aFinishedCallback: (Int32) -> ()) -> Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Shared Function RunAsync(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<System.Int32>) As Process
// Island-macOS, Island-Windows
Shared Function RunAsync(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<RemObjects.Elements.System.Int32>) As Process

Parameters:

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

RunAsync (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<RemObjects.Elements.RTL.String>, Action<RemObjects.Elements.RTL.String>, Action<System.Int32>): Process  virtual .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, Toffee-macOS

Run a process (non blocking).

 

// .NET, .NET Core 6.0, .NET Standard 2.0
class method RunAsync(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<System.Int32>): Process
// Island-macOS, Island-Windows
class method RunAsync(aCommand: not nullable String; aArguments: ImmutableList<String>; aEnvironment: nullable ImmutableStringDictionary; aWorkingDirectory: nullable String; aStdOutCallback: Action<RemObjects.Elements.RTL.String>; aStdErrCallback: Action<RemObjects.Elements.RTL.String>; aFinishedCallback: Action<RemObjects.Elements.System.Int32>): Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
static Process RunAsync(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<System.Int32> aFinishedCallback)
// Island-macOS, Island-Windows
static Process RunAsync(String! aCommand, ImmutableList<String> aArguments, ImmutableStringDictionary? aEnvironment, String? aWorkingDirectory, Action<RemObjects.Elements.RTL.String> aStdOutCallback, Action<RemObjects.Elements.RTL.String> aStdErrCallback, Action<RemObjects.Elements.System.Int32> aFinishedCallback)

 

static func RunAsync(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary, _ aWorkingDirectory: String, _ aStdOutCallback: (String) -> (), _ aStdErrCallback: (String) -> (), _ aFinishedCallback: (Int32) -> ()) -> Process

 

// .NET, .NET Core 6.0, .NET Standard 2.0
Shared Function RunAsync(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<System.Int32>) As Process
// Island-macOS, Island-Windows
Shared Function RunAsync(aCommand As String, aArguments As ImmutableList<String>, aEnvironment As ImmutableStringDictionary?, aWorkingDirectory As String?, aStdOutCallback As Action<RemObjects.Elements.RTL.String>, aStdErrCallback As Action<RemObjects.Elements.RTL.String>, aFinishedCallback As Action<RemObjects.Elements.System.Int32>) As Process

Parameters:

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

RunAsync (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Block, block(String), Block): Process ToffeeV2-macOS

 

static func RunAsync(_ aCommand: String, _ aArguments: ImmutableList<String>, _ aEnvironment: ImmutableStringDictionary?, _ aWorkingDirectory: String?, _ aStdOutCallback: Block, _ aStdErrCallback: (String) -> (), _ aFinishedCallback: Block) -> Process

Parameters:

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

SplitQuotedArgumentString

Split quoted arguments into parts.

 

class method SplitQuotedArgumentString(aArgumentString: not nullable String): not nullable ImmutableList<String>

 

static ImmutableList<String>! SplitQuotedArgumentString(String! aArgumentString)

 

static func SplitQuotedArgumentString(_ aArgumentString: String) -> ImmutableList<String>

 

static ImmutableList<String> SplitQuotedArgumentString(String aArgumentString)

 

Shared Function SplitQuotedArgumentString(aArgumentString As String) As ImmutableList<String>

Parameters:

  • aArgumentString:

SplitQuotedCEscapedArgumentString

 

class method SplitQuotedCEscapedArgumentString(aArgumentString: not nullable String): not nullable ImmutableList<String>

 

static ImmutableList<String>! SplitQuotedCEscapedArgumentString(String! aArgumentString)

 

static func SplitQuotedCEscapedArgumentString(_ aArgumentString: String) -> ImmutableList<String>

 

static ImmutableList<String> SplitQuotedCEscapedArgumentString(String aArgumentString)

 

Shared Function SplitQuotedCEscapedArgumentString(aArgumentString As String) As ImmutableList<String>

Parameters:

  • aArgumentString:

StringForCommand

Create a command line for a command and argument.

 

class method StringForCommand(aCommand: not nullable String) Parameters(aArguments: nullable ImmutableList<String>): not nullable String

 

static String! StringForCommand(String! aCommand) Parameters(ImmutableList<String>? aArguments)

 

// Toffee
static func StringForCommand(_ aCommand: String, Parameters aArguments: ImmutableList<String>) -> String
// ToffeeV2
static func StringForCommand(_ aCommand: String, Parameters aArguments: ImmutableList<String>?) -> String

 

static String StringForCommand(String aCommand) Parameters(ImmutableList<String> aArguments)

 

Shared Function StringForCommand(aCommand As String) Parameters(aArguments As ImmutableList<String>?) As String

Parameters:

  • aCommand:
  • aArguments:

 

constructor Cooper, Island-Android, Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-tvOS, Island-tvOS Simulator, Island-Ubuntu, Island-visionOS, Island-visionOS Simulator, Island-watchOS, Island-watchOS Simulator, Island-WebAssembly-wasm32

Create a new instance of this class.

 

constructor

 

Process()

 

init()

 

Process()

 

Sub New()

Start .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, ToffeeV2-macOS

Start this process.

 

method Start

 

void Start()

 

func Start()

 

Sub Start()

Start Start()  virtual Toffee-macOS

 

method Start Start()

 

void Start Start( )

 

func Start(Start )

 

void Start Start( )

 

Sub Start Start( As )

Parameters:

  • :

Stop .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, ToffeeV2-macOS

Terminate the process.

 

method Stop

 

void Stop()

 

func Stop()

 

Sub Stop()

Stop Stop()  virtual Toffee-macOS

 

method Stop Stop()

 

void Stop Stop( )

 

func Stop(Stop )

 

void Stop Stop( )

 

Sub Stop Stop( As )

Parameters:

  • :

WaitFor .NET, .NET Core 6.0, .NET Standard 2.0, Island-macOS, Island-Windows, ToffeeV2-macOS

Wait fo the process to finish.

 

method WaitFor

 

void WaitFor()

 

func WaitFor()

 

Sub WaitFor()

WaitFor WaitFor()  virtual Toffee-macOS

 

method WaitFor WaitFor()

 

void WaitFor WaitFor( )

 

func WaitFor(WaitFor )

 

void WaitFor WaitFor( )

 

Sub WaitFor WaitFor( As )

Parameters:

  • :