Table of Contents

Class TerminalProcessLauncher

Namespace
AppHealthMonitor
Assembly
AppHealthMonitor.dll

Launches through a terminal without confusing its PID with the supervised app.

public static class TerminalProcessLauncher
Inheritance
TerminalProcessLauncher
Inherited Members

Methods

FindTerminal(string)

public static string? FindTerminal(string configured = "")

Parameters

configured string

Returns

string

RunChildAsync(string)

public static Task<int> RunChildAsync(string specPath)

Parameters

specPath string

Returns

Task<int>

StartAsync(AppConfig, ProcessStartInfo, CancellationToken)

public static Task<Process?> StartAsync(AppConfig config, ProcessStartInfo direct, CancellationToken token)

Parameters

config AppConfig
direct ProcessStartInfo
token CancellationToken

Returns

Task<Process>