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