Table of Contents

Method RunProcess

Namespace
Alternet.Scripter
Assembly
Alternet.Scripter.v10.dll

RunProcess(string, object[], bool)

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

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

Parameters

executableFile string

Fully qualified name of an application to execute.

args object[]

Specifies main method arguments.

doNotHideLauncherConsole bool

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

Returns

Process

The process executing the script.

RunProcess(ProcessStartInfo, bool)

public static Process RunProcess(ProcessStartInfo startInfo, bool doNotHideLauncherConsole)

Parameters

startInfo ProcessStartInfo
doNotHideLauncherConsole bool

Returns

Process