7 writes to Lifetime
aspire (1)
DotNet\ProcessExecution.cs (1)
25Lifetime = options.KillOnParentExit && options.Lifetime != ChildProcessLifetime.AppHost
Aspire.Cli.Tests (6)
tests\Shared\Processes\ChildProcessTests.cs (5)
157Lifetime = ChildProcessLifetime.OwnedTree, 189Lifetime = ChildProcessLifetime.OwnedTree, 234Lifetime = ChildProcessLifetime.OwnedTree, 281Lifetime = ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.CallerManaged, 345Lifetime = ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.AppHost,
tests\Shared\Processes\ProcessSupervisorTests.cs (1)
53Lifetime = ChildProcessLifetime.OwnedTree,
5 references to Lifetime
aspire (5)
src\Shared\ChildProcess.cs (5)
57if (options.Detached && options.Lifetime == ChildProcessLifetime.OwnedTree) 61_isSupervisor = options.Lifetime == ChildProcessLifetime.OwnedTree || 122if (_options.Lifetime == ChildProcessLifetime.OwnedTree) 365&& _options.Lifetime == ChildProcessLifetime.AppHost 574if (_options.Lifetime == ChildProcessLifetime.OwnedTree && !process.HasExited)