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
  • 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 Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-tvOS Simulator, Island-tvOS-arm64, Island-Ubuntu, Island-visionOS Simulator, Island-visionOS-arm64, Island-watchOS Simulator, Island-watchOS-arm64_32, 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:

ProcessStringToLines



 

class method ProcessStringToLines(rawString: String) LastIncompleteLogLine(out lastIncompleteLogLine: String) Callback(callback: Action<String>)


 

static void ProcessStringToLines(String rawString) LastIncompleteLogLine(out String lastIncompleteLogLine) Callback(Action<String> callback)


 

static func ProcessStringToLines(_ rawString: String, LastIncompleteLogLine lastIncompleteLogLine: inout String, Callback callback: (String) -> ())


 

static void ProcessStringToLines(String rawString) LastIncompleteLogLine(__out String lastIncompleteLogLine) Callback(Action<String> callback)


 

Shared Sub ProcessStringToLines(rawString As String) LastIncompleteLogLine(<OutAttribute> ByRef lastIncompleteLogLine As String) Callback(callback As Action<String>)

Parameters:

  • rawString:
  • lastIncompleteLogLine:
  • callback:

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 := nil; aWorkingDirectory: nullable String := nil): Int32


 

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


 

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


 

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

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, Action<String>, Action<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 := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil): Int32


 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null)


 

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


 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null) 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 := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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 := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String; out aStdErr: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil): Int32


 

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


 

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


 

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

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<String>, Action<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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil): Int32


 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments = null, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null)


 

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


 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null) As Int32

Parameters:

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

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



 

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


 

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


 

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


 

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

Parameters:

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

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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String; out aStdErr: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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<String>, Action<String>, Action<Int32>): 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; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil; aFinishedCallback: Action<Int32> := nil): Process


 

static Process RunAsync(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null, Action<Int32> aFinishedCallback = null)


 

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


 

Shared Function RunAsync(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null, aFinishedCallback As Action<Int32> = Null) As Process

Parameters:

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

RunAsync (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<String>, Action<String>, Action<Int32>): 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; aArguments: ImmutableList<String> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil; aFinishedCallback: Action<Int32> := nil): Process


 

static Process RunAsync(String! aCommand, ImmutableList<String> aArguments = null, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null, Action<Int32> aFinishedCallback = null)


 

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


 

Shared Function RunAsync(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null, aFinishedCallback As Action<Int32> = Null) As 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, Toffee-macOS, ToffeeV2-macOS

Start this process.



 

method Start


 

void Start()


 

func Start()


 

Sub Start()


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

Terminate the process.



 

method Stop


 

void Stop()


 

func Stop()


 

Sub Stop()


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, Toffee-macOS, ToffeeV2-macOS

Wait fo the process to finish.



 

method WaitFor


 

void WaitFor()


 

func WaitFor()


 

Sub WaitFor()



 


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:

ProcessStringToLines



 

class method ProcessStringToLines(rawString: String) LastIncompleteLogLine(out lastIncompleteLogLine: String) Callback(callback: Action<String>)


 

static void ProcessStringToLines(String rawString) LastIncompleteLogLine(out String lastIncompleteLogLine) Callback(Action<String> callback)


 

static func ProcessStringToLines(_ rawString: String, LastIncompleteLogLine lastIncompleteLogLine: inout String, Callback callback: (String) -> ())


 

static void ProcessStringToLines(String rawString) LastIncompleteLogLine(__out String lastIncompleteLogLine) Callback(Action<String> callback)


 

Shared Sub ProcessStringToLines(rawString As String) LastIncompleteLogLine(<OutAttribute> ByRef lastIncompleteLogLine As String) Callback(callback As Action<String>)

Parameters:

  • rawString:
  • lastIncompleteLogLine:
  • callback:

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 := nil; aWorkingDirectory: nullable String := nil): Int32


 

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


 

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


 

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

Parameters:

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

Run (not nullable String, array of String, nullable ImmutableStringDictionary, nullable String, Action<String>, Action<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 := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil): Int32


 

static Int32 Run(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null)


 

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


 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null) 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 := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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 := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String; out aStdErr: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil): Int32


 

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


 

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


 

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

Parameters:

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

Run (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<String>, Action<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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil): Int32


 

static Int32 Run(String! aCommand, ImmutableList<String> aArguments = null, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null)


 

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


 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null) As Int32

Parameters:

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

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



 

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


 

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


 

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


 

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

Parameters:

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

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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; out aStdOut: String; out aStdErr: String): Int32


 

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


 

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


 

Shared Function Run(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, <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<String>, Action<String>, Action<Int32>): 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; aArguments: array of String; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil; aFinishedCallback: Action<Int32> := nil): Process


 

static Process RunAsync(String! aCommand, String[] aArguments, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null, Action<Int32> aFinishedCallback = null)


 

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


 

Shared Function RunAsync(aCommand As String, aArguments As String(), aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null, aFinishedCallback As Action<Int32> = Null) As Process

Parameters:

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

RunAsync (not nullable String, ImmutableList<String>, nullable ImmutableStringDictionary, nullable String, Action<String>, Action<String>, Action<Int32>): 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; aArguments: ImmutableList<String> := nil; aEnvironment: nullable ImmutableStringDictionary := nil; aWorkingDirectory: nullable String := nil; aStdOutCallback: Action<String>; aStdErrCallback: Action<String> := nil; aFinishedCallback: Action<Int32> := nil): Process


 

static Process RunAsync(String! aCommand, ImmutableList<String> aArguments = null, ImmutableStringDictionary? aEnvironment = null, String? aWorkingDirectory = null, Action<String> aStdOutCallback, Action<String> aStdErrCallback = null, Action<Int32> aFinishedCallback = null)


 

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


 

Shared Function RunAsync(aCommand As String, aArguments As ImmutableList<String> = Null, aEnvironment As ImmutableStringDictionary? = Null, aWorkingDirectory As String? = Null, aStdOutCallback As Action<String>, aStdErrCallback As Action<String> = Null, aFinishedCallback As Action<Int32> = Null) As 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 Simulator, Island-iOS-arm64, Island-Mac Catalyst, Island-tvOS Simulator, Island-tvOS-arm64, Island-Ubuntu, Island-visionOS Simulator, Island-visionOS-arm64, Island-watchOS Simulator, Island-watchOS-arm64_32, 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, Toffee-macOS, ToffeeV2-macOS

Start this process.



 

method Start


 

void Start()


 

func Start()


 

Sub Start()


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

Terminate the process.



 

method Stop


 

void Stop()


 

func Stop()


 

Sub Stop()


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

Wait fo the process to finish.



 

method WaitFor


 

void WaitFor()


 

func WaitFor()


 

Sub WaitFor()