30 references to ProcessStartInfo
aspire (8)
Agents\Playwright\PlaywrightCliRunner.cs (1)
81var startInfo = new ProcessStartInfo(executablePath, ["install", "--skills"])
DotNet\ProcessExecutionFactory.cs (1)
133var startInfo = new ProcessStartInfo(fileName, arguments)
Git\GitCommandRunner.cs (1)
67var startInfo = new ProcessStartInfo("git", unattended
Git\GitRepository.cs (1)
129new("git", arguments)
Telemetry\AgentTelemetryUploader.cs (1)
41var startInfo = new ProcessStartInfo(command, args)
Utils\EnvironmentChecker\GoAppHostToolingCheck.cs (2)
324var startInfo = new ProcessStartInfo(executablePath, ["version"]); 334return new ProcessStartInfo(executablePath, ["env", ToolchainVariable])
Utils\EnvironmentChecker\TypeScriptAppHostToolingCheck.cs (1)
253new ProcessStartInfo(executablePath, ["--version"])
Aspire.Cli.EndToEnd.Tests (1)
SettledNpmReleasesTests.cs (1)
74var startInfo = new ProcessStartInfo("bash", ["-c", command])
Aspire.Cli.Tests (10)
Configuration\ConfigSourceServiceGitTests.cs (1)
735var result = await System.Diagnostics.Process.RunAndCaptureTextAsync(new("git", arguments)
DotNet\ProcessExecutionTests.cs (1)
279var startInfo = new ProcessStartInfo("powershell.exe", ["-NoProfile", "-NonInteractive", "-EncodedCommand", Convert.ToBase64String(Encoding.Unicode.GetBytes(script))])
tests\Shared\Processes\ProcessTestFixture.cs (1)
191StartInfo = new ProcessStartInfo("dotnet", arguments)
tests\Shared\TemporaryWorkspaceGitExtensions.cs (1)
35StartInfo = new ProcessStartInfo("git", arguments)
Utils\ProcessCaptureRunnerTests.cs (6)
20? new ProcessStartInfo("cmd.exe", ["/d", "/c", "exit 0"]) 21: new ProcessStartInfo("/bin/sh", ["-c", "exit 0"]); 59? new ProcessStartInfo("cmd.exe", ["/d", "/c", "exit 0"]) 60: new ProcessStartInfo("/bin/sh", ["-c", "exit 0"]); 112? new ProcessStartInfo("cmd.exe", ["/d", "/c", "exit 0"]) 113: new ProcessStartInfo("/bin/sh", ["-c", "exit 0"]);
Aspire.Hosting.RemoteHost.Tests (3)
tests\Shared\Processes\ProcessTestFixture.cs (1)
191StartInfo = new ProcessStartInfo("dotnet", arguments)
TestServices\IntegrationHostProcessFixture.cs (2)
108StartInfo = new ProcessStartInfo("dotnet", arguments) 344var startInfo = useAppHostExecutable ? new ProcessStartInfo(executable) : new ProcessStartInfo("dotnet", [hostAssembly]);
Aspire.Hosting.Tests (2)
Pipelines\PipelineOutputGitTestHelper.cs (2)
24StartInfo = new ProcessStartInfo("git", arguments) 54StartInfo = new ProcessStartInfo("cmd.exe", ["/c", "mklink", "/J", path, target])
Infrastructure.Tests (2)
ExecutableFileTests.cs (1)
28using var process = Process.Start(new ProcessStartInfo("/bin/sh", ["-c", "exit 0"]) { UseShellExecute = false })!;
tools\GenerateCITimeline\GitHubApi.cs (1)
11var psi = new ProcessStartInfo("gh", ["api", endpoint, "--paginate"])
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (1)
1549return Start(new ProcessStartInfo(fileName, arguments))!;
System\Diagnostics\Process.Scenarios.cs (1)
365return arguments is not null ? new ProcessStartInfo(fileName, arguments) : new ProcessStartInfo(fileName);