98 references to ProcessStartInfo
aspire (5)
Certificates\CertificateGeneration\UnixCertificateManager.cs (1)
1062var startInfo = new ProcessStartInfo(CertificateHelpers.CertUtilCommand);
Projects\DotNetBasedAppHostServerProject.cs (1)
559var startInfo = new ProcessStartInfo(dotnetExe)
Projects\NativeAppHostServerProject.cs (2)
138var start = new ProcessStartInfo(managed) { WorkingDirectory = AppDirectoryPath, UseShellExecute = false }; 197var startInfo = new ProcessStartInfo(_executable) { WorkingDirectory = AppDirectoryPath, UseShellExecute = false };
Projects\PrebuiltAppHostServer.cs (1)
855var startInfo = new ProcessStartInfo(serverPath)
aspire-managed (1)
TerminalHostForwarder.cs (1)
24var startInfo = new ProcessStartInfo(Path.Combine(directory, BundleDiscovery.GetExecutableFileName(BundleDiscovery.TerminalHostExecutableName)))
aspire-tray (5)
FolderApplication.cs (1)
139return new(executable) { UseShellExecute = false, WorkingDirectory = directory };
src\Aspire.Tray\Common\CliProcess.cs (1)
17var startInfo = new ProcessStartInfo(cliPath)
src\Aspire.Tray\Common\TrayLaunchCommand.cs (2)
32var startInfo = new ProcessStartInfo(executable) 95var startInfo = new ProcessStartInfo(executable)
src\Aspire.Tray\Common\WindowsTrayStartupSettings.cs (1)
44var start = new ProcessStartInfo(bootstrap);
Aspire.Cli.EndToEnd.Tests (3)
Helpers\CliE2ETestHelpers.cs (2)
467var startInfo = new ProcessStartInfo("docker") 519var startInfo = new ProcessStartInfo("docker")
Helpers\LocalDeploymentTestHelpers.cs (1)
76StartInfo = new ProcessStartInfo("docker")
Aspire.Cli.Tests (21)
Commands\AppHostLauncherTests.cs (1)
1532return new ProcessStartInfo(fileName)
Commands\CompletionScriptTests.cs (1)
308var startInfo = new ProcessStartInfo(executable)
DotNet\DotNetCliRunnerTests.cs (2)
392var startInfo = new ProcessStartInfo(GetDotNetExecutablePath()) 2668var processStartInfo = new ProcessStartInfo(GetDotNetExecutablePath())
DotNet\ProcessExecutionFactoryEnvironmentTests.cs (2)
26var startInfo = new ProcessStartInfo("dotnet") 131var startInfo = new ProcessStartInfo("dotnet")
DotNet\ProcessExecutionTests.cs (2)
322return new ProcessStartInfo("cmd.exe") 334return new ProcessStartInfo("/bin/bash")
DotNetSdkInstallerTests.cs (2)
337var startInfo = new ProcessStartInfo("powershell.exe") 366return new ProcessStartInfo(shellFile)
Processes\ProcessTreeGracefulShutdownServiceTests.cs (2)
419var startInfo = new ProcessStartInfo("/bin/sh") 435var startInfo = new ProcessStartInfo("/bin/sh")
Projects\AppHostServerProjectTests.cs (1)
122var startInfo = new ProcessStartInfo("dotnet")
Projects\AppHostServerSessionTests.cs (2)
703var startInfo = new ProcessStartInfo("dotnet") 752var startInfo = new ProcessStartInfo(fileName)
Projects\JavaAppHostToolchainResolverTests.cs (1)
632var startInfo = new ProcessStartInfo(command.Command)
Projects\PrebuiltAppHostServerTests.cs (3)
166var startInfo = new ProcessStartInfo("dotnet") 487var startInfo = new ProcessStartInfo("dotnet") 698var startInfo = new ProcessStartInfo("dotnet")
Telemetry\InternalMicrosoftDetectorTests.cs (1)
1023var startInfo = new ProcessStartInfo("/usr/bin/app-sso")
tests\Shared\Processes\ProcessTestFixture.cs (1)
95var startInfo = new ProcessStartInfo("dotnet")
Aspire.Deployment.EndToEnd.Tests (3)
AcaExpressDeploymentTests.cs (1)
410StartInfo = new ProcessStartInfo("az")
AksCrossResourceGroupRegistryDeploymentTests.cs (1)
404StartInfo = new ProcessStartInfo("az")
Helpers\DotnetProjectDeploymentHelpers.cs (1)
107StartInfo = new ProcessStartInfo("az")
Aspire.Hosting.CodeGeneration.Go.Tests (1)
AtsGoCodeGeneratorTests.cs (1)
151process.StartInfo = new ProcessStartInfo("go")
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
649process.StartInfo = new ProcessStartInfo(pythonExecutable)
Aspire.Hosting.Dotnet (1)
DotnetProjectRunPropertiesResolver.cs (1)
43var startInfo = new ProcessStartInfo("dotnet")
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
533var startInfo = new ProcessStartInfo(executableAnnotation.Command)
Aspire.Hosting.Foundry (1)
FoundryLocalService.cs (1)
493var startInfo = new ProcessStartInfo("foundry")
Aspire.Hosting.Java.Tests (3)
AddJavaAppPublishTests.cs (2)
55using var process = Process.Start(new ProcessStartInfo("sh") 1880using var process = Process.Start(new ProcessStartInfo("/bin/sh")
AddJavaAppTests.cs (1)
826using var process = Process.Start(new ProcessStartInfo(app.Resource.Command)
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
198var psi = new ProcessStartInfo("dotnet")
Aspire.Hosting.Native.Client (1)
NativeProviderHost.cs (1)
93var start = new ProcessStartInfo(executable) { RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false };
Aspire.Hosting.Native.Core.Tests (10)
NativeComposeCSharpDockerTests.cs (1)
81var start = new ProcessStartInfo(executable)
NativeComposeCSharpTests.cs (1)
139var start = new ProcessStartInfo(Environment.GetEnvironmentVariable("ASPIRE_NATIVE_SYMBOLIC_TEST_NODE") ?? "node")
NativeIpcSecurityTests.cs (1)
67var start = new ProcessStartInfo(Environment.UserName == "root" ? "runuser" : "sudo")
NativeProductCliTests.cs (1)
97var start = new ProcessStartInfo(cli)
NativeRedisAppHostTests.cs (2)
48var verify = new ProcessStartInfo("docker") 70var start = new ProcessStartInfo("docker") { RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false };
NativeRpcAuthoringTests.cs (1)
297var start = new ProcessStartInfo(node)
TestServices\NativeClientTestHost.cs (1)
51var start = new ProcessStartInfo(executable)
TestServices\NativeIntegrationAppHostRunner.cs (1)
12var start = new ProcessStartInfo(executable) { RedirectStandardOutput = true, RedirectStandardError = true, UseShellExecute = false };
TestServices\NativeProviderProcessTestHost.cs (1)
16var start = new ProcessStartInfo("/bin/sh")
Aspire.Hosting.Native.Server (1)
Dcp\DcpApiClient.cs (1)
62var start = new ProcessStartInfo(executable)
Aspire.Hosting.RemoteHost.Tests (2)
tests\Shared\Processes\ProcessTestFixture.cs (1)
95var startInfo = new ProcessStartInfo("dotnet")
TestServices\IntegrationHostProcessFixture.cs (1)
318var startInfo = useAppHostExecutable ? new ProcessStartInfo(executable) : new ProcessStartInfo("dotnet", [hostAssembly]);
Aspire.Hosting.Rust (1)
CargoMetadataReader.cs (1)
65var startInfo = new ProcessStartInfo("cargo")
Aspire.Hosting.Rust.Tests (1)
RustDockerfileShellTests.cs (1)
203var startInfo = new ProcessStartInfo("/bin/sh")
Aspire.Hosting.Sdk.Tests (1)
AppHostSdkTargetsTests.cs (1)
2204var startInfo = new ProcessStartInfo(fileName)
Aspire.Managed.Tests (1)
TerminalHostSignalTests.cs (1)
280var startInfo = new ProcessStartInfo("dotnet")
Aspire.Playground.Tests (1)
tests\Aspire.TestUtilities\TestcontainersPodmanConfiguration.cs (1)
236var startInfo = new ProcessStartInfo(KnownContainerRuntimes.Podman)
Aspire.TestUtilities (1)
TestcontainersPodmanConfiguration.cs (1)
236var startInfo = new ProcessStartInfo(KnownContainerRuntimes.Podman)
Aspire.Tray.Tests (9)
Helpers\TestNativeCommand.cs (1)
12var startInfo = new ProcessStartInfo(command)
MacTrayLauncherTests.cs (1)
223var start = new ProcessStartInfo("/bin/sh") { WorkingDirectory = workingDirectory };
src\Aspire.Tray\Common\CliProcess.cs (1)
17var startInfo = new ProcessStartInfo(cliPath)
src\Aspire.Tray\Common\TrayLaunchCommand.cs (2)
32var startInfo = new ProcessStartInfo(executable) 95var startInfo = new ProcessStartInfo(executable)
src\Aspire.Tray\Common\WindowsTrayStartupSettings.cs (1)
44var start = new ProcessStartInfo(bootstrap);
WindowsTrayLaunchCommandTests.cs (1)
73var start = new ProcessStartInfo(@"C:\Aspire Tray\aspire-tray.exe");
WindowsTrayLauncherTests.cs (2)
113var start = new ProcessStartInfo(Path.Combine(Environment.SystemDirectory, "ping.exe")) 141using var child = Process.Start(new ProcessStartInfo(Path.Combine(Environment.SystemDirectory, "cmd.exe"))
GenerateTemplateManifest (1)
Program.cs (1)
117var startInfo = new ProcessStartInfo("dotnet")
Infrastructure.Tests (8)
Hex1bNativePublishingTests.cs (1)
446var startInfo = new ProcessStartInfo(Environment.GetEnvironmentVariable("DOTNET_HOST_PATH") ?? "dotnet")
Shared\GitCli.cs (1)
24var psi = new ProcessStartInfo("git")
TestTriggerMap\TestTriggerMapTests.cs (1)
427var startInfo = new System.Diagnostics.ProcessStartInfo("git")
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (4)
352var startInfo = new ProcessStartInfo(pythonExecutable) 402process.StartInfo = new ProcessStartInfo(pythonExecutable) 435process.StartInfo = new ProcessStartInfo("bash") 509process.StartInfo = new ProcessStartInfo("bash")
WorkflowScripts\PrDocsCheckWorkflowTests.cs (1)
24var startInfo = new ProcessStartInfo(python)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
42var processStartInfo = new ProcessStartInfo(exeToRun)
Microsoft.Extensions.Http.Resilience.Tests (1)
BuildTransitive\GrpcNetClientFactoryVersionTargetTests.cs (1)
282var processStartInfo = new ProcessStartInfo(GetDotNetPath())
Microsoft.NET.Build.Containers (2)
LocalDaemons\ContainerRuntimeOperations.cs (2)
45ProcessStartInfo loadInfo = new(commandPath) 190ProcessStartInfo startInfo = new(commandPath)
NativeIntegrations.DockerCompose (1)
DockerCommand.cs (1)
22StartInfo = new(executable)
NuGet.CommandLine.XPlat (1)
Commands\Package\Update\PackageUpdateIO.cs (1)
112ProcessStartInfo processStartInfo = new ProcessStartInfo(dotnetPath)
NuGet.Common (1)
Migrations\Migration1.cs (1)
193ProcessStartInfo startInfo = new ProcessStartInfo(command)
NuGet.Protocol (1)
Plugins\PluginFactory.cs (1)
198startInfo = new ProcessStartInfo(pluginFile.Path)
SelectTests (2)
GraphAffectedProjects.cs (1)
553var startInfo = new ProcessStartInfo("git")
Program.cs (1)
1329var psi = new ProcessStartInfo(fileName)
System.CodeDom (1)
System\CodeDom\Compiler\Executor.cs (1)
60var psi = new ProcessStartInfo(cmd)
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (1)
1519return Start(new ProcessStartInfo(fileName))!;
System\Diagnostics\Process.Scenarios.cs (1)
365return arguments is not null ? new ProcessStartInfo(fileName, arguments) : new ProcessStartInfo(fileName);