AppRunnerSettings class

Settings for running apps.

public sealed class AppRunnerSettings

Public Members

name description
AppRunnerSettings() The default constructor.
Arguments { get; set; } The arguments to pass to the app.
EnvironmentVariables { get; } Additional environment variables to set when running the app.
HandleErrorLine { get; set; } If set, each line of standard error is sent to the delegate, not to the console.
HandleOutputLine { get; set; } If set, each line of standard output is sent to the delegate, not to the console.
InputStream { get; set; } If set, redirects standard in and uses this stream as input.
IsExitCodeSuccess { get; set; } Called to determine if the exit code is successful; it if isn’t, an exception is thrown.
IsFrameworkApp { get; set; } True if Mono is used to run the app on Linux and macOS.
NoEcho { get; set; } True if the process information should not be written to standard error.
UseCmdOnWindows { get; set; } True to run the app via cmd /c on Windows.
WorkingDirectory { get; set; } The working directory from which to run the app.
Clone() Clones the settings.

See Also