15 writes to KillOnParentExit
aspire (10)
DotNet\DotNetCliRunner.cs (2)
186KillOnParentExit = KillOnParentExit, 436KillOnParentExit = options.KillOnParentExit,
Layout\LayoutProcessRunner.cs (2)
32KillOnParentExit = killOnParentExit, 73effectiveOptions.KillOnParentExit = true;
Projects\DotNetAppHostProject.cs (2)
1561KillOnParentExit = false, 1629directRunOptions.KillOnParentExit = true;
Projects\DotNetBasedAppHostServerProject.cs (1)
655KillOnParentExit = runControl?.KillOnParentExit ?? false,
Projects\NativeAppHostServerProject.cs (1)
261KillOnParentExit = runControl?.KillOnParentExit ?? false,
Projects\PrebuiltAppHostServer.cs (1)
824KillOnParentExit = runControl?.KillOnParentExit ?? false,
Projects\ProcessGuestLauncher.cs (1)
133KillOnParentExit = isolateConsoleForGracefulShutdown,
Aspire.Cli.Tests (5)
DotNet\OwnedProcessExecutionTests.cs (1)
31KillOnParentExit = parentExitOptIn,
DotNet\ProcessExecutionTests.cs (2)
188KillOnParentExit = killOnParentExit, 239KillOnParentExit = killOnParentExit,
DotNet\ProcessInvocationOptionsTests.cs (1)
34KillOnParentExit = true,
Layout\LayoutProcessRunnerTests.cs (1)
84var callerOptions = new ProcessInvocationOptions { KillOnParentExit = !optInArgument };
13 references to KillOnParentExit
aspire (6)
DotNet\DotNetCliRunner.cs (3)
95/// graceful shutdown. Pair with <see cref="KillOnParentExit"/> when the child should also be 186KillOnParentExit = KillOnParentExit, 436KillOnParentExit = options.KillOnParentExit,
DotNet\ProcessExecution.cs (1)
25Lifetime = options.KillOnParentExit && options.Lifetime != ChildProcessLifetime.AppHost
DotNet\ProcessExecutionFactory.cs (2)
157if (OperatingSystem.IsWindows() && (options.IsolateConsole || options.KillOnParentExit || options.Detached)) 171startInfo.KillOnParentExit = options.KillOnParentExit;
Aspire.Cli.Tests (7)
Commands\TrayCommandTests.cs (1)
160Assert.False(factory.LastProcessInvocationOptions.KillOnParentExit);
Layout\LayoutProcessRunnerTests.cs (3)
89Assert.True(capturedOptions.KillOnParentExit); 92Assert.Equal(!optInArgument, callerOptions.KillOnParentExit); 127Assert.True(capturedOptions.KillOnParentExit);
Projects\DotNetAppHostProjectTests.cs (2)
340Assert.False(options.KillOnParentExit); 1099Assert.True(options.KillOnParentExit);
Projects\ProcessGuestLauncherTests.cs (1)
48Assert.True(executionFactory.LastProcessInvocationOptions?.KillOnParentExit);