22 instantiations of ChildProcessOptions
aspire (3)
DotNet\ProcessExecution.cs (1)
20: base(startInfo, logger, new ChildProcessOptions
src\Shared\ProcessSupervisor.cs (1)
131startInfo, logger, new ChildProcessOptions { TerminationTimeout = terminationTimeout }, OperatingSystem.IsWindows());
src\Shared\Telemetry\TelemetryMetadata.cs (1)
41new ChildProcessOptions { StandardOutputCallback = stdout, StandardErrorCallback = stderr },
Aspire.Cli.Tests (19)
tests\Shared\Processes\ChildProcessTests.cs (13)
23await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("output", "0"), new ChildProcessOptions()); 39new ChildProcessOptions 70new ChildProcessOptions 110await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions()); 120await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions()); 136await using var process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions()); 156new ChildProcessOptions 188new ChildProcessOptions 233new ChildProcessOptions 280new ChildProcessOptions 345new ChildProcessOptions 413new ChildProcessOptions 443await using var process = ProcessTestFixture.CreateProcess(startInfo, new ChildProcessOptions
tests\Shared\Processes\ProcessSupervisorTests.cs (6)
52await using var process = ProcessTestFixture.CreateProcess(startInfo, new ChildProcessOptions 78new ChildProcessOptions { StandardErrorCallback = stderr.Enqueue }); 101fixture.CreateStartInfo("tree", readiness.Name)), new ChildProcessOptions()); 120fixture.CreateStartInfo("tree", readiness.Name)), new ChildProcessOptions()); 139fixture.CreateStartInfo("tree", readiness.Name)), new ChildProcessOptions()); 164await using var owner = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("owner", readiness.Name), new ChildProcessOptions());
4 references to ChildProcessOptions
aspire (2)
src\Shared\ChildProcess.cs (2)
31private readonly ChildProcessOptions _options; 47ChildProcessOptions options,
Aspire.Cli.Tests (2)
tests\Shared\Processes\ProcessTestFixture.cs (2)
131internal static ChildProcess CreateProcess(ProcessStartInfo startInfo, ChildProcessOptions options) => 134internal static ChildProcess CreateProcess(ProcessStartInfo startInfo, ILogger logger, ChildProcessOptions options) =>