3 instantiations of ChildProcess
Aspire.Hosting.RemoteHost (2)
src\Shared\ChildProcessFactory.cs (1)
23
=> new
ChildProcess
(startInfo, logger, options, isWindows);
src\Shared\ProcessSupervisor.cs (1)
130
var process = new
ChildProcess
(
Aspire.Hosting.RemoteHost.Tests (1)
tests\Shared\Processes\ProcessTestFixture.cs (1)
129
new
(startInfo, logger, options, OperatingSystem.IsWindows());
25 references to ChildProcess
Aspire.Hosting.RemoteHost (4)
src\Shared\ChildProcess.cs (2)
105
?? throw new InvalidOperationException($"{nameof(
ChildProcess
)} has not been started. Call {nameof(StartAsync)} first.");
118
throw new InvalidOperationException($"{nameof(
ChildProcess
)} has already been started.");
src\Shared\ProcessSupervisor.cs (2)
130
var
process = new ChildProcess(
212
ChildProcess
.KillProcessGroup(Environment.ProcessId);
Aspire.Hosting.RemoteHost.Tests (21)
tests\Shared\Processes\ChildProcessTests.cs (13)
22
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("output", "0"), new ChildProcessOptions());
37
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("output", "23"),
68
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("output", "0"),
109
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions());
119
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions());
135
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name), new ChildProcessOptions());
153
await using
var
process = ProcessTestFixture.CreateProcess(
186
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("tree", readiness.Name),
231
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("tree-graceful", readiness.Name),
277
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo(ownedTree ? "tree" : "wait", readiness.Name),
342
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("tree-cleanup", readiness.Name, cleanupPath),
405
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("wait", readiness.Name),
454
await using
var
process = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("output", "0"),
tests\Shared\Processes\ProcessSupervisorTests.cs (6)
51
await using
var
process = ProcessTestFixture.CreateProcess(startInfo, new ChildProcessOptions
74
await using
var
guardian = ProcessTestFixture.CreateProcess(fixture.CreateSupervisorStartInfo(
98
await using
var
guardian = ProcessTestFixture.CreateProcess(fixture.CreateSupervisorStartInfo(
117
await using
var
guardian = ProcessTestFixture.CreateProcess(fixture.CreateSupervisorStartInfo(
136
await using
var
guardian = ProcessTestFixture.CreateProcess(fixture.CreateSupervisorStartInfo(
162
await using
var
owner = ProcessTestFixture.CreateProcess(fixture.CreateStartInfo("owner", readiness.Name), new ChildProcessOptions());
tests\Shared\Processes\ProcessTestFixture.cs (2)
125
internal static
ChildProcess
CreateProcess(ProcessStartInfo startInfo, ChildProcessOptions options) =>
128
internal static
ChildProcess
CreateProcess(ProcessStartInfo startInfo, ILogger logger, ChildProcessOptions options) =>