Table of Contents

Method RunProcess

Namespace
Alternet.Scripter
Assembly
Alternet.Scripter.v9.dll

RunProcess(string, object[], bool, bool)

Executes script starting from the main entry point in a standalone process.

public static int RunProcess(string executableFile, object[] args, bool wait, bool doNotHideLauncherConsole)

Parameters

executableFile string

Fully qualified name of an application to execute.

args object[]

Specifies main method arguments.

wait bool

Specifies if calling application should wait for process termination.

doNotHideLauncherConsole bool

Specifies if .NET Core launcher console window will remain open when launching GUI scripts.

Returns

int

The exit code that the associated process returns when it's terminated.