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)
158
Lifetime
= ChildProcessLifetime.OwnedTree,
190
Lifetime
= ChildProcessLifetime.OwnedTree,
235
Lifetime
= ChildProcessLifetime.OwnedTree,
282
Lifetime
= ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.CallerManaged,
347
Lifetime
= ownedTree ? ChildProcessLifetime.OwnedTree : ChildProcessLifetime.AppHost,
tests\Shared\Processes\ProcessSupervisorTests.cs (1)
54
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)