14 references to CliProcess
aspire-tray (14)
src\Aspire.Tray\Common\CliAppHostClient.cs (4)
27
_ =
CliProcess
.CreateStartInfo(cliPath);
101
=>
CliProcess
.CreateStartInfo(executable, "ps", "--follow", "--format", "json",
113
stderr =
CliProcess
.DrainAsync(process.StandardError, streams.Token);
151
await
CliProcess
.TerminateOwnedChildAsync(process).ConfigureAwait(false);
src\Aspire.Tray\Common\CliAppHostCommands.cs (7)
31
return
CliProcess
.CreateStartInfo(executable, "stop", "--apphost", target.AppHostPath,
40
var startInfo =
CliProcess
.CreateStartInfo(executable, "start", "--apphost", path, "--non-interactive", "--nologo");
78
output = Task.WhenAll(
CliProcess
.DrainAsync(process.StandardOutput, lifetime.Token),
79
CliProcess
.DrainAsync(process.StandardError, lifetime.Token));
93
await
CliProcess
.TerminateOwnedChildAsync(process).ConfigureAwait(false);
116
stderr =
CliProcess
.DrainAsync(process.StandardError, lifetime.Token);
145
await
CliProcess
.TerminateOwnedChildAsync(process).ConfigureAwait(false);
src\Aspire.Tray\Common\WindowsLoginBootstrap.cs (3)
23
return
CliProcess
.CreateStartInfo(cliPath, "tray", "start", "--non-interactive", "--nologo");
32
var stdout =
CliProcess
.DrainAsync(process.StandardOutput, timeout.Token);
33
var stderr =
CliProcess
.DrainAsync(process.StandardError, timeout.Token);