154 writes to StartInfo
AnalyzeCiFailure (2)
tools\Aspire.TestTools\GitHubApiClient.cs (1)
607StartInfo = new ProcessStartInfo("gh")
tools\Aspire.TestTools\ProcessRunner.cs (1)
29StartInfo = new ProcessStartInfo(fileName)
aspire (1)
DotNet\DotNetSdkInstaller.cs (1)
47using var process = new Process { StartInfo = _createProcessStartInfo(dotnetPath, arguments) };
aspire-managed (2)
Program.cs (1)
41using var process = new Process { StartInfo = startInfo };
TerminalHostForwarder.cs (1)
55using var process = new Process { StartInfo = startInfo };
Aspire.Acquisition.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
229StartInfo = psi,
Aspire.Cli.EndToEnd.Tests (1)
Helpers\LocalDeploymentTestHelpers.cs (1)
76StartInfo = new ProcessStartInfo("docker")
Aspire.Cli.Tests (3)
Telemetry\InternalMicrosoftDetectorTests.cs (1)
1032using var process = new Process { StartInfo = startInfo };
tests\Shared\Processes\ProcessTestFixture.cs (1)
191StartInfo = new ProcessStartInfo("dotnet", arguments)
tests\Shared\TemporaryWorkspaceGitExtensions.cs (1)
35StartInfo = new ProcessStartInfo("git", arguments)
Aspire.Deployment.EndToEnd.Tests (56)
AcaCompactNamingDeploymentTests.cs (1)
346StartInfo = new System.Diagnostics.ProcessStartInfo
AcaCompactNamingUpgradeDeploymentTests.cs (1)
402StartInfo = new System.Diagnostics.ProcessStartInfo
AcaCustomRegistryDeploymentTests.cs (1)
232StartInfo = new System.Diagnostics.ProcessStartInfo
AcaDeploymentErrorOutputTests.cs (1)
184StartInfo = new System.Diagnostics.ProcessStartInfo
AcaExistingRegistryDeploymentTests.cs (1)
268StartInfo = new System.Diagnostics.ProcessStartInfo
AcaExpressDeploymentTests.cs (1)
410StartInfo = new ProcessStartInfo("az")
AcaManagedRedisDeploymentTests.cs (1)
269StartInfo = new System.Diagnostics.ProcessStartInfo
AcrPurgeTaskDeploymentTests.cs (1)
265StartInfo = new System.Diagnostics.ProcessStartInfo
AksAzureKubernetesEnvironmentCertManagerDeploymentTests.cs (1)
421StartInfo = new System.Diagnostics.ProcessStartInfo
AksAzureKubernetesEnvironmentCertManagerTypeScriptDeploymentTests.cs (1)
410StartInfo = new System.Diagnostics.ProcessStartInfo
AksAzureKubernetesEnvironmentGatewayDeploymentTests.cs (1)
323StartInfo = new System.Diagnostics.ProcessStartInfo
AksBlazorRedisDeploymentTests.cs (1)
254StartInfo = new System.Diagnostics.ProcessStartInfo
AksCrossResourceGroupRegistryDeploymentTests.cs (1)
404StartInfo = new ProcessStartInfo("az")
AksMultipleNodePoolsDeploymentTests.cs (1)
278StartInfo = new System.Diagnostics.ProcessStartInfo
AksPersistentVolumeDeploymentTests.cs (1)
537StartInfo = new System.Diagnostics.ProcessStartInfo
AksStarterDeploymentTests.cs (1)
421StartInfo = new System.Diagnostics.ProcessStartInfo
AksStarterWithRedisHelmDeploymentTests.cs (1)
397StartInfo = new System.Diagnostics.ProcessStartInfo
AksVnetInfraDeploymentTests.cs (1)
208StartInfo = new System.Diagnostics.ProcessStartInfo
AksVnetWithAzureResourcesDeploymentTests.cs (1)
358StartInfo = new System.Diagnostics.ProcessStartInfo
AksWithAzureResourcesDeploymentTests.cs (1)
339StartInfo = new System.Diagnostics.ProcessStartInfo
AksWithHelmChartDeploymentTests.cs (1)
275StartInfo = new System.Diagnostics.ProcessStartInfo
ApiManagementDeploymentTests.cs (1)
188StartInfo = new System.Diagnostics.ProcessStartInfo
ApiManagementInfraDeploymentTests.cs (1)
179StartInfo = new System.Diagnostics.ProcessStartInfo
AppServicePythonDeploymentTests.cs (1)
217StartInfo = new System.Diagnostics.ProcessStartInfo
AppServiceReactDeploymentTests.cs (1)
489StartInfo = new System.Diagnostics.ProcessStartInfo
AppServiceStoragePrivateEndpointDeploymentTests.cs (1)
390StartInfo = new System.Diagnostics.ProcessStartInfo
AzureAppConfigDeploymentTests.cs (1)
184StartInfo = new System.Diagnostics.ProcessStartInfo
AzureConnectorNamespaceDeploymentTests.cs (1)
287StartInfo = new System.Diagnostics.ProcessStartInfo
AzureContainerRegistryDeploymentTests.cs (1)
167StartInfo = new System.Diagnostics.ProcessStartInfo
AzureEventHubsDeploymentTests.cs (1)
184StartInfo = new System.Diagnostics.ProcessStartInfo
AzureKeyVaultDeploymentTests.cs (1)
184StartInfo = new System.Diagnostics.ProcessStartInfo
AzureLogAnalyticsDeploymentTests.cs (1)
167StartInfo = new System.Diagnostics.ProcessStartInfo
AzureResourceScopeDeploymentTests.cs (1)
235StartInfo = new System.Diagnostics.ProcessStartInfo
AzureRoleAssignmentRunModeTests.cs (1)
246StartInfo = new System.Diagnostics.ProcessStartInfo
AzureServiceBusDeploymentTests.cs (1)
186StartInfo = new System.Diagnostics.ProcessStartInfo
AzureStorageDeploymentTests.cs (1)
392StartInfo = new System.Diagnostics.ProcessStartInfo
AzureStorageRunModeTests.cs (1)
229StartInfo = new System.Diagnostics.ProcessStartInfo
FoundryHostedAgentDeploymentTests.cs (1)
703StartInfo = new System.Diagnostics.ProcessStartInfo
FrontDoorDeploymentTests.cs (1)
236StartInfo = new System.Diagnostics.ProcessStartInfo
Helpers\DeploymentE2ETestHelpers.cs (1)
149StartInfo = new ProcessStartInfo
Helpers\DotnetProjectDeploymentHelpers.cs (1)
107StartInfo = new ProcessStartInfo("az")
KubernetesGatewayTlsDeploymentTests.cs (1)
469StartInfo = new System.Diagnostics.ProcessStartInfo
KubernetesHelmChartDeploymentTests.cs (1)
319StartInfo = new System.Diagnostics.ProcessStartInfo
NspStorageKeyVaultDeploymentTests.cs (1)
348StartInfo = new System.Diagnostics.ProcessStartInfo
PythonFastApiDeploymentTests.cs (1)
219StartInfo = new System.Diagnostics.ProcessStartInfo
RadiusStarterDeploymentTests.cs (1)
672StartInfo = new System.Diagnostics.ProcessStartInfo
TypeScriptAzureContainerAppJobDeploymentTests.cs (1)
176StartInfo = new System.Diagnostics.ProcessStartInfo
TypeScriptExpressDeploymentTests.cs (1)
206StartInfo = new System.Diagnostics.ProcessStartInfo
TypeScriptJavaScriptHostingDeploymentTests.cs (1)
209StartInfo = new System.Diagnostics.ProcessStartInfo
TypeScriptVnetSqlServerInfraDeploymentTests.cs (1)
274StartInfo = new System.Diagnostics.ProcessStartInfo
VnetKeyVaultConnectivityDeploymentTests.cs (1)
260StartInfo = new System.Diagnostics.ProcessStartInfo
VnetKeyVaultInfraDeploymentTests.cs (1)
195StartInfo = new System.Diagnostics.ProcessStartInfo
VnetSqlServerConnectivityDeploymentTests.cs (1)
327StartInfo = new System.Diagnostics.ProcessStartInfo
VnetSqlServerInfraDeploymentTests.cs (1)
196StartInfo = new System.Diagnostics.ProcessStartInfo
VnetStorageBlobConnectivityDeploymentTests.cs (1)
267StartInfo = new System.Diagnostics.ProcessStartInfo
VnetStorageBlobInfraDeploymentTests.cs (1)
197StartInfo = new System.Diagnostics.ProcessStartInfo
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
182AppHostProcess.StartInfo = new ProcessStartInfo(_buildEnv.DotNet, processArguments)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
229StartInfo = psi,
Aspire.Hosting (2)
Dcp\Process\ProcessUtil.Capture.cs (1)
25StartInfo = new ProcessStartInfo(executablePath)
Dcp\Process\ProcessUtil.cs (1)
42StartInfo =
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
42StartInfo =
Aspire.Hosting.Azure.Tests (1)
FoundryExtensionsTests.cs (1)
238StartInfo = new ProcessStartInfo
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
299StartInfo = new ProcessStartInfo("gofmt")
Aspire.Hosting.CodeGeneration.Go.Tests (7)
AtsGoCodeGeneratorTests.cs (4)
107StartInfo = new ProcessStartInfo("go") 237process.StartInfo = new ProcessStartInfo("go") 2324process.StartInfo = new ProcessStartInfo("go") 2463process.StartInfo = new ProcessStartInfo("go")
AtsGoDerivedBuilderTests.cs (1)
418process.StartInfo = new ProcessStartInfo("go")
GoDocCommentTests.cs (1)
383process.StartInfo = new ProcessStartInfo(fileName)
GoScaffoldTests.cs (1)
258process.StartInfo = new ProcessStartInfo("gofmt")
Aspire.Hosting.CodeGeneration.Java.Tests (1)
AtsJavaCodeGeneratorTests.cs (1)
4097using var process = new Process { StartInfo = startInfo };
Aspire.Hosting.CodeGeneration.Python.Tests (1)
AtsPythonCodeGeneratorTests.cs (1)
764process.StartInfo = new ProcessStartInfo(pythonExecutable)
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
AtsRustCodeGeneratorTests.cs (1)
113StartInfo = new ProcessStartInfo("cargo")
Aspire.Hosting.DevTunnels (1)
DevTunnelCli.cs (1)
252StartInfo = BuildStartInfo(args, useShellExecute),
Aspire.Hosting.Docker (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
42StartInfo =
Aspire.Hosting.Dotnet (1)
DotnetProjectRunPropertiesResolver.cs (1)
74using var process = new Process { StartInfo = startInfo };
Aspire.Hosting.Foundry (2)
FoundryLocalService.cs (2)
273StartInfo = startInfo, 379StartInfo = CreateFoundryStartInfo(arguments)
Aspire.Hosting.Kubernetes (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
42StartInfo =
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
223using var process = new Process { StartInfo = psi };
Aspire.Hosting.Radius (6)
Publishing\RadCredentialRegisterStep.cs (1)
258process.StartInfo = new ProcessStartInfo
Publishing\RadiusDeploymentPipelineStep.cs (3)
329process.StartInfo = new ProcessStartInfo 458process.StartInfo = new ProcessStartInfo 555process.StartInfo = new ProcessStartInfo
Publishing\SealedSecretApplyStep.cs (2)
708StartInfo = new ProcessStartInfo 764StartInfo = new ProcessStartInfo
Aspire.Hosting.RemoteHost.Tests (3)
CapabilityDispatcherTests.cs (1)
86StartInfo = new ProcessStartInfo(pythonExecutable)
tests\Shared\Processes\ProcessTestFixture.cs (1)
191StartInfo = new ProcessStartInfo("dotnet", arguments)
TestServices\IntegrationHostProcessFixture.cs (1)
108StartInfo = new ProcessStartInfo("dotnet", arguments)
Aspire.Hosting.Rust (1)
CargoMetadataReader.cs (1)
84using var process = new Process { StartInfo = startInfo };
Aspire.Hosting.Tasks (1)
RunAspireCliCommand.cs (1)
95StartInfo = CreateStartInfo(arguments)
Aspire.Hosting.Tests (4)
MSBuildTests.cs (2)
407process.StartInfo = new ProcessStartInfo("dotnet", arguments) 1818process.StartInfo = new ProcessStartInfo("dotnet", "build --disable-build-servers")
Pipelines\PipelineOutputGitTestHelper.cs (2)
24StartInfo = new ProcessStartInfo("git", arguments) 54StartInfo = new ProcessStartInfo("cmd.exe", ["/c", "mklink", "/J", path, target])
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
182AppHostProcess.StartInfo = new ProcessStartInfo(_buildEnv.DotNet, processArguments)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
229StartInfo = psi,
Aspire.TestTools (4)
GitHubApiClient.cs (1)
607StartInfo = new ProcessStartInfo("gh")
GitHubCli.cs (2)
263StartInfo = processStartInfo 313StartInfo = processStartInfo
ProcessRunner.cs (1)
29StartInfo = new ProcessStartInfo(fileName)
dotnet-aot (1)
parent\dotnet\CommandFactory\CommandFactoryUsingResolver.cs (1)
120StartInfo = psi
dotnet-format (1)
Utilities\ProcessRunner.cs (1)
81process.StartInfo = processStartInfo;
dotnet-suggest (1)
SuggestionStore.cs (1)
40StartInfo = processStartInfo
Infrastructure.Tests (11)
CreateFailingTestIssue\CreateFailingTestIssueFixture.cs (1)
42using var process = new Process { StartInfo = processStartInfo };
CreateFailingTestIssue\CreateFailingTestIssueToolTests.cs (1)
647using var process = new Process { StartInfo = processStartInfo };
DownloadFailingJobLogs\DownloadFailingJobLogsToolTests.cs (1)
104using var process = new Process { StartInfo = processStartInfo };
ExtractTestPartitions\ExtractTestPartitionsFixture.cs (1)
32using var process = new Process { StartInfo = psi };
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
314using var process = new Process { StartInfo = psi };
GenerateTestSummary\GenerateTestSummaryFixture.cs (1)
35using var process = new Process { StartInfo = processStartInfo };
GenerateTestSummary\GenerateTestSummaryToolTests.cs (1)
265using var process = new Process { StartInfo = processStartInfo };
PowerShellScripts\PowerShellCommand.cs (1)
217StartInfo = psi,
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (2)
402process.StartInfo = new ProcessStartInfo(pythonExecutable) 435process.StartInfo = new ProcessStartInfo("bash")
WorkflowScripts\NodeCommand.cs (1)
202StartInfo = psi,
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
57StartInfo = processStartInfo,
Microsoft.Arcade.Common (1)
Command.cs (1)
45StartInfo = psi
Microsoft.AspNetCore.Server.IntegrationTesting (5)
ApplicationPublisher.cs (1)
74using var hostProcess = new Process() { StartInfo = startInfo };
Deployers\NginxDeployer.cs (2)
157using (var runNginx = new Process() { StartInfo = startInfo }) 202using (var runNginx = new Process() { StartInfo = startInfo })
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
247using (var runScriptsOnRemoteServerProcess = new Process() { StartInfo = startInfo })
Deployers\SelfHostDeployer.cs (1)
145HostProcess = new Process() { StartInfo = startInfo };
Microsoft.Build.Utilities.Core (1)
ToolTask.cs (1)
783proc.StartInfo = GetProcessStartInfo(pathToTool, commandLineCommands, responseFileSwitch);
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
170using var process = new Process { StartInfo = startInfo };
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Internal\InternalMicrosoftDetectionContext.cs (1)
199StartInfo = new ProcessStartInfo
Microsoft.DotNet.Cli.Utils (2)
Extensions\ProcessStartInfoExtensions.cs (2)
16StartInfo = startInfo 39StartInfo = startInfo,
Microsoft.DotNet.HotReload.Watch (1)
Process\ProcessRunner.cs (1)
147StartInfo =
Microsoft.DotNet.MacOsPkg.Core (1)
ExecuteHelper.cs (1)
23using (Process process = new Process { StartInfo = processStartInfo })
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
57StartInfo = processStartInfo,
Microsoft.Extensions.DataIngestion.MarkItDown (1)
MarkItDownReader.cs (1)
75using (Process process = new() { StartInfo = startInfo })
Microsoft.Extensions.DataIngestion.Tests (1)
Readers\MarkItDownConditionHelper.cs (1)
30using Process process = new() { StartInfo = startInfo };
Microsoft.ML.Sweeper (1)
ConfigRunner.cs (1)
228StartInfo =
Microsoft.NET.Build.Containers (2)
LocalDaemons\ContainerRuntimes.cs (1)
143StartInfo = new ProcessStartInfo(dockerPath, "info --format=\"{{json .}}\"")
LocalDaemons\DockerCli.cs (1)
205StartInfo = new ProcessStartInfo(dockerPath, "info --format=\"{{json .}}\"")
Microsoft.NET.ProjectData (1)
Donor\ProjectDataDonorIndex.Git.cs (1)
119 StartInfo = new ProcessStartInfo
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\GenerateEFSQLScripts.cs (1)
108StartInfo = psi,
Microsoft.TestPlatform.Build (1)
Tasks\VSTestTask.cs (1)
87using var activeProcess = new Process { StartInfo = processInfo };
NativeIntegrations.DockerCompose (1)
DockerCommand.cs (1)
22StartInfo = new(executable)
NuGet.Build.Tasks (1)
StaticGraphRestoreTaskBase.cs (1)
122process.StartInfo = new ProcessStartInfo
NuGet.Common (1)
Migrations\Migration1.cs (1)
203proc.StartInfo = startInfo;
NuGet.Protocol (1)
Plugins\PluginProcess.cs (1)
164_process.StartInfo = _startInfo;
System.Diagnostics.Process (1)
System\Diagnostics\Process.cs (1)
1563process.StartInfo = startInfo;
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
48return new Process() { StartInfo = psi };
238 references to StartInfo
AnalyzeCiFailure (2)
tools\Aspire.TestTools\ProcessRunner.cs (2)
39process.StartInfo.ArgumentList.Add(argument); 43process.StartInfo.Environment[name] = value;
AnalyzeCiFailure.Tests (9)
AnalyzeCiFailureWorkflowTests.cs (9)
5279process.StartInfo.FileName = fileName; 5282process.StartInfo.ArgumentList.Add(argument == typeof(AnalyzeCiFailure.Program).Assembly.Location 5285process.StartInfo.WorkingDirectory = workingDirectory ?? _workspace.Path; 5286process.StartInfo.RedirectStandardError = true; 5287process.StartInfo.RedirectStandardOutput = true; 5288process.StartInfo.RedirectStandardInput = standardInput is not null; 5289process.StartInfo.UseShellExecute = false; 5291process.StartInfo.Environment["GITHUB_STEP_SUMMARY"] = Path.Combine(_workspace.Path, "step-summary"); 5296process.StartInfo.Environment[name] = value;
Aspire.Acquisition.Tests (1)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
173CurrentProcess.StartInfo,
Aspire.Cli.EndToEnd.Tests (6)
Helpers\LocalDeploymentTestHelpers.cs (1)
85process.StartInfo.ArgumentList.Add(argument);
KubernetesPublishTests.cs (5)
299cleanupProcess.StartInfo.FileName = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".local", "bin", "kind"); 300cleanupProcess.StartInfo.Arguments = $"delete cluster --name={clusterName}"; 301cleanupProcess.StartInfo.RedirectStandardOutput = true; 302cleanupProcess.StartInfo.RedirectStandardError = true; 303cleanupProcess.StartInfo.UseShellExecute = false;
Aspire.Deployment.EndToEnd.Tests (19)
AcaExpressDeploymentTests.cs (1)
419process.StartInfo.ArgumentList.Add(argument);
AksCrossResourceGroupRegistryDeploymentTests.cs (1)
413process.StartInfo.ArgumentList.Add(argument);
ApiManagementDeploymentTests.cs (8)
197process.StartInfo.ArgumentList.Add("group"); 198process.StartInfo.ArgumentList.Add("delete"); 199process.StartInfo.ArgumentList.Add("--name"); 200process.StartInfo.ArgumentList.Add(resourceGroupName); 201process.StartInfo.ArgumentList.Add("--subscription"); 202process.StartInfo.ArgumentList.Add(subscriptionId); 203process.StartInfo.ArgumentList.Add("--yes"); 204process.StartInfo.ArgumentList.Add("--no-wait");
ApiManagementInfraDeploymentTests.cs (8)
188process.StartInfo.ArgumentList.Add("group"); 189process.StartInfo.ArgumentList.Add("delete"); 190process.StartInfo.ArgumentList.Add("--name"); 191process.StartInfo.ArgumentList.Add(resourceGroupName); 192process.StartInfo.ArgumentList.Add("--subscription"); 193process.StartInfo.ArgumentList.Add(subscriptionId); 194process.StartInfo.ArgumentList.Add("--yes"); 195process.StartInfo.ArgumentList.Add("--no-wait");
Helpers\DotnetProjectDeploymentHelpers.cs (1)
116process.StartInfo.ArgumentList.Add(argument);
Aspire.EndToEnd.Tests (5)
tests\Shared\TemplatesTesting\AspireProject.cs (4)
194ToolCommand.RemoveInheritedMSBuildPaths(AppHostProcess.StartInfo.Environment); 198AppHostProcess.StartInfo.Environment[item.Key] = item.Value; 202_testOutput.WriteLine($"Starting the process: {_buildEnv.DotNet} {processArguments} in {AppHostProcess.StartInfo.WorkingDirectory}"); 267configureProcess?.Invoke(AppHostProcess.StartInfo);
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
173CurrentProcess.StartInfo,
Aspire.Hosting (5)
Dcp\Process\ProcessUtil.Capture.cs (2)
39process.StartInfo.ArgumentList.Add(argument); 45process.StartInfo.Environment[key] = value;
Dcp\Process\ProcessUtil.cs (3)
61process.StartInfo.ArgumentList.Add(argument); 67process.StartInfo.Environment.Clear(); 72process.StartInfo.Environment[key] = value;
Aspire.Hosting.Azure (3)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (3)
61process.StartInfo.ArgumentList.Add(argument); 67process.StartInfo.Environment.Clear(); 72process.StartInfo.Environment[key] = value;
Aspire.Hosting.Azure.Tests (6)
FoundryExtensionsTests.cs (6)
248process.StartInfo.ArgumentList.Add("/d"); 249process.StartInfo.ArgumentList.Add("/s"); 250process.StartInfo.ArgumentList.Add("/c"); 251process.StartInfo.ArgumentList.Add("echo startup failed>&2&exit /b 42"); 255process.StartInfo.ArgumentList.Add("-c"); 256process.StartInfo.ArgumentList.Add("printf 'startup failed\\n' >&2; exit 42");
Aspire.Hosting.CodeGeneration.Go.Tests (2)
AtsGoDerivedBuilderTests.cs (1)
427process.StartInfo.ArgumentList.Add(argument);
GoDocCommentTests.cs (1)
395process.StartInfo.ArgumentList.Add(argument);
Aspire.Hosting.CodeGeneration.Python.Tests (3)
AtsPythonCodeGeneratorTests.cs (3)
774process.StartInfo.Environment["PYTHONIOENCODING"] = standardIoEncoding; 776process.StartInfo.ArgumentList.Add("-c"); 777process.StartInfo.ArgumentList.Add(
Aspire.Hosting.DevTunnels (2)
DevTunnelCli.cs (2)
259logger?.LogTrace("Invoking devtunnel CLI{ShellExecuteInfo}: {FileName} {Arguments}", useShellExecute ? " (UseShellExecute=true)" : "", process.StartInfo.FileName, EscapeArgList(process.StartInfo.ArgumentList));
Aspire.Hosting.Docker (3)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (3)
61process.StartInfo.ArgumentList.Add(argument); 67process.StartInfo.Environment.Clear(); 72process.StartInfo.Environment[key] = value;
Aspire.Hosting.Kubernetes (3)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (3)
61process.StartInfo.ArgumentList.Add(argument); 67process.StartInfo.Environment.Clear(); 72process.StartInfo.Environment[key] = value;
Aspire.Hosting.Radius (12)
Publishing\RadCredentialRegisterStep.cs (1)
272process.StartInfo.ArgumentList.Add(a);
Publishing\RadiusDeploymentPipelineStep.cs (10)
340process.StartInfo.ArgumentList.Add(argument); 349process.StartInfo.Environment.Remove(key); 353process.StartInfo.Environment[key] = value; 470process.StartInfo.ArgumentList.Add("version"); 471process.StartInfo.ArgumentList.Add("--cli"); 564process.StartInfo.ArgumentList.Add("deploy"); 565process.StartInfo.ArgumentList.Add(bicepPath); 570process.StartInfo.ArgumentList.Add("--parameters"); 571process.StartInfo.ArgumentList.Add("@" + parametersFilePath); 573logger.LogInformation("Running: rad {Args}", string.Join(' ', process.StartInfo.ArgumentList));
Publishing\SealedSecretApplyStep.cs (1)
776process.StartInfo.ArgumentList.Add(a);
Aspire.Hosting.RemoteHost (2)
src\Shared\ChildProcess.cs (2)
723process.StartInfo.RedirectStandardOutput ? ReadAsync(process.StandardOutput, false) : Task.CompletedTask, 724process.StartInfo.RedirectStandardError ? ReadAsync(process.StandardError, true) : Task.CompletedTask).ConfigureAwait(false);
Aspire.Hosting.Tests (6)
MSBuildTests.cs (1)
418process.StartInfo.Environment[key] = value;
Pipelines\PipelineOutputGitTestHelper.cs (5)
34process.StartInfo.Environment["GIT_DIR"] = Path.Combine(directory, ".git"); 35process.StartInfo.Environment["GIT_WORK_TREE"] = directory; 36process.StartInfo.Environment["GIT_INDEX_FILE"] = Path.Combine(directory, ".git", "index"); 37process.StartInfo.Environment["GIT_CONFIG_COUNT"] = "0"; 40process.StartInfo.Environment.Remove(name);
Aspire.Templates.Tests (5)
tests\Shared\TemplatesTesting\AspireProject.cs (4)
194ToolCommand.RemoveInheritedMSBuildPaths(AppHostProcess.StartInfo.Environment); 198AppHostProcess.StartInfo.Environment[item.Key] = item.Value; 202_testOutput.WriteLine($"Starting the process: {_buildEnv.DotNet} {processArguments} in {AppHostProcess.StartInfo.WorkingDirectory}"); 267configureProcess?.Invoke(AppHostProcess.StartInfo);
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
173CurrentProcess.StartInfo,
Aspire.TestTools (2)
ProcessRunner.cs (2)
39process.StartInfo.ArgumentList.Add(argument); 43process.StartInfo.Environment[name] = value;
dotnet-svcutil-lib (10)
Shared\Utilities\ProcessRunner.cs (10)
70proc.StartInfo.WorkingDirectory = Path.GetFullPath(currentDir); 71proc.StartInfo.UseShellExecute = false; 72proc.StartInfo.CreateNoWindow = redirectOutput; 73proc.StartInfo.RedirectStandardError = redirectOutput; 74proc.StartInfo.RedirectStandardOutput = redirectOutput; 75proc.StartInfo.FileName = processName; 76proc.StartInfo.Arguments = processArgs; 81proc.StartInfo.Environment.Add(environmentVar); 88proc.StartInfo.StandardErrorEncoding = Encoding.UTF8; 89proc.StartInfo.StandardOutputEncoding = Encoding.UTF8;
Infrastructure.Tests (47)
Pipelines\NixCliPackageTests.cs (7)
152process.StartInfo.FileName = "bash"; 153process.StartInfo.ArgumentList.Add(scriptPath); 157process.StartInfo.ArgumentList.Add(argument); 160process.StartInfo.RedirectStandardError = true; 161process.StartInfo.RedirectStandardOutput = true; 162process.StartInfo.UseShellExecute = false; 166process.StartInfo.Environment[name] = value;
PowerShellScripts\PowerShellCommand.cs (1)
152CurrentProcess.StartInfo,
WorkflowScripts\DeploymentTestScriptTests.cs (14)
90process.StartInfo.FileName = "bash"; 91process.StartInfo.ArgumentList.Add(s_runnerPath); 92process.StartInfo.ArgumentList.Add(resultsDirectory); 93process.StartInfo.ArgumentList.Add("Deployment.EndToEnd-ExampleTests"); 94process.StartInfo.ArgumentList.Add("--filter-class"); 95process.StartInfo.ArgumentList.Add("Aspire.ExampleTests"); 96process.StartInfo.WorkingDirectory = _workspace.Path; 97process.StartInfo.RedirectStandardError = true; 98process.StartInfo.RedirectStandardOutput = true; 99process.StartInfo.UseShellExecute = false; 100process.StartInfo.Environment["GITHUB_OUTPUT"] = outputFile; 101process.StartInfo.Environment["DOTNET_SCRIPT"] = fakeDotnetScript; 102process.StartInfo.Environment["FAKE_DOTNET_ARGUMENTS"] = argumentsFile; 103process.StartInfo.Environment["FAKE_DOTNET_EXIT_CODE"] = testExitCode.ToString();
WorkflowScripts\ExtensionChangelogFinalizedWorkflowTests.cs (13)
261process.StartInfo.FileName = "bash"; 262process.StartInfo.ArgumentList.Add(scriptPath); 263process.StartInfo.WorkingDirectory = workingDirectory; 264process.StartInfo.RedirectStandardError = true; 265process.StartInfo.RedirectStandardOutput = true; 266process.StartInfo.UseShellExecute = false; 271process.StartInfo.Environment[key] = value ?? string.Empty; 429process.StartInfo.FileName = fileName; 430process.StartInfo.WorkingDirectory = workingDirectory; 431process.StartInfo.RedirectStandardError = true; 432process.StartInfo.RedirectStandardOutput = true; 433process.StartInfo.UseShellExecute = false; 437process.StartInfo.ArgumentList.Add(arg);
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (5)
410process.StartInfo.ArgumentList.Add(scriptPath); 413process.StartInfo.ArgumentList.Add(arg); 442process.StartInfo.ArgumentList.Add(scriptPath); 445process.StartInfo.ArgumentList.Add(arg); 450process.StartInfo.Environment[key] = value ?? string.Empty;
WorkflowScripts\MtpExitCodeScriptTests.cs (6)
54process.StartInfo.FileName = fileName; 55process.StartInfo.WorkingDirectory = RepoRoot.Path; 56process.StartInfo.RedirectStandardError = true; 57process.StartInfo.RedirectStandardOutput = true; 58process.StartInfo.UseShellExecute = false; 61process.StartInfo.ArgumentList.Add(argument);
WorkflowScripts\NodeCommand.cs (1)
144CurrentProcess.StartInfo,
Microsoft.Arcade.Common (20)
Command.cs (20)
60if (_process.StartInfo.RedirectStandardOutput) 68if (_process.StartInfo.RedirectStandardError) 78if (_process.StartInfo.RedirectStandardOutput || 79_process.StartInfo.RedirectStandardInput || 80_process.StartInfo.RedirectStandardError) 82_process.StartInfo.UseShellExecute = false; 90if (_process.StartInfo.RedirectStandardOutput) 95if (_process.StartInfo.RedirectStandardError) 107_process.StartInfo, 115_process.StartInfo.WorkingDirectory = projectDirectory; 121_process.StartInfo.Environment[name] = value; 122_process.StartInfo.UseShellExecute = false; 143_process.StartInfo.RedirectStandardOutput = true; 151_process.StartInfo.RedirectStandardError = true; 159_process.StartInfo.RedirectStandardOutput = true; 174_process.StartInfo.RedirectStandardError = true; 189_process.StartInfo.RedirectStandardOutput = true; 201_process.StartInfo.RedirectStandardError = true; 228_statusForward($"[EXEC Begin] {FormatProcessInfo(_process.StartInfo, includeWorkingDirectory: false)}"); 238var message = $"{FormatProcessInfo(_process.StartInfo, includeWorkingDirectory: !success)} exited with {exitCode}";
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (2)
383 launchBrowser.StartInfo.UseShellExecute = true; 384 launchBrowser.StartInfo.FileName = uri.ToString();
Microsoft.AspNetCore.Components.WebView.Wpf (2)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (2)
383 launchBrowser.StartInfo.UseShellExecute = true; 384 launchBrowser.StartInfo.FileName = uri.ToString();
Microsoft.AspNetCore.Server.IntegrationTesting (1)
src\aspnetcore\src\Shared\Process\ProcessEx.cs (1)
59var timeoutExMessage = $"Process proc {proc.ProcessName} {proc.StartInfo.Arguments} timed out after {timeout}.";
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Internal\InternalMicrosoftDetectionContext.cs (1)
210process.StartInfo.ArgumentList.Add(argument);
Microsoft.DotNet.Cli.Utils (14)
Command.cs (14)
32_process.StartInfo.FileName, 33_process.StartInfo.Arguments)); 46Reporter.Verbose.WriteLine($"> {Command.FormatProcessInfo(_process.StartInfo)}".White()); 74Command.FormatProcessInfo(_process.StartInfo), 88_process.StartInfo, 96_process.StartInfo.WorkingDirectory = projectDirectory; 102_process.StartInfo.Environment[name] = value; 109_process.StartInfo.StandardOutputEncoding = encoding; 187public string CommandName => _process.StartInfo.FileName; 189public string CommandArgs => _process.StartInfo.Arguments; 191public ProcessStartInfo StartInfo => _process.StartInfo; 201_process.StartInfo.Arguments = commandArgs; 218_process.StartInfo.RedirectStandardOutput = true; 224_process.StartInfo.RedirectStandardError = true;
Microsoft.DotNet.HotReload.Watch (3)
Process\ProcessRunner.cs (3)
161process.StartInfo.CreateNewProcessGroup = true; 166process.StartInfo.ArgumentList.Add(processSpec.Arguments[i]); 171process.StartInfo.Environment.Add(env.Key, env.Value);
Microsoft.ML.CodeGenerator (12)
Utils.cs (12)
199proc.StartInfo.FileName = @"dotnet"; 200proc.StartInfo.Arguments = $"sln \"{solutionPath}\" add {string.Join(" ", projectPaths)}"; 201proc.StartInfo.UseShellExecute = false; 202proc.StartInfo.RedirectStandardOutput = true; 224proc.StartInfo.FileName = @"dotnet"; 225proc.StartInfo.Arguments = $"sln \"{solutionPath}\" add \"{Path.Combine(consoleAppProjectDir, consoleAppProjectName)}\" \"{Path.Combine(modelprojectDir, modelProjectName)}\""; 226proc.StartInfo.UseShellExecute = false; 227proc.StartInfo.RedirectStandardOutput = true; 245proc.StartInfo.FileName = @"dotnet"; 246proc.StartInfo.Arguments = $"new sln --name \"{solutionFile}\" --output \"{outputPath}\" --force"; 247proc.StartInfo.UseShellExecute = false; 248proc.StartInfo.RedirectStandardOutput = true;
Microsoft.ML.Sweeper (3)
ConfigRunner.cs (3)
238p.StartInfo.WorkingDirectory = workingDir; 242p.StartInfo.RedirectStandardOutput = true; 248p.StartInfo.RedirectStandardError = true;
Microsoft.TemplateEngine.Cli (4)
IReporterExtensions.cs (4)
30if (process.StartInfo.RedirectStandardOutput || process.StartInfo.RedirectStandardError) 34if (process.StartInfo.RedirectStandardOutput) 38if (process.StartInfo.RedirectStandardError)
Microsoft.TestPlatform.Extensions.BlameDataCollector (4)
ProcessCodeMethods.cs (4)
140ps.StartInfo.FileName = "ps"; 141ps.StartInfo.Arguments = $"-o ppid= {process.Id}"; 142ps.StartInfo.UseShellExecute = false; 143ps.StartInfo.RedirectStandardOutput = true;
Microsoft.TestPlatform.PlatformAbstractions (8)
common\System\ProcessHelper.cs (8)
74process.StartInfo.UseShellExecute = false; 75process.StartInfo.CreateNoWindow = createNoNewWindow; 76process.StartInfo.WorkingDirectory = workingDirectory; 78process.StartInfo.FileName = processPath; 79process.StartInfo.Arguments = arguments; 80process.StartInfo.RedirectStandardError = true; 89process.StartInfo.AddEnvironmentVariable(kvp.Key, kvp.Value); 95process.StartInfo.RedirectStandardOutput = true;
NativeIntegrations.DockerCompose (3)
DockerCommand.cs (3)
30process.StartInfo.ArgumentList.Add(argument); 32process.StartInfo.Environment.Clear(); 35process.StartInfo.Environment.Add(key, value);
NuGet.Build.Tasks (2)
StaticGraphRestoreTaskBase.cs (2)
153Log.LogMessageFromResources(MessageImportance.Low, nameof(Strings.Log_RunningStaticGraphRestoreCommand), process.StartInfo.FileName, process.StartInfo.Arguments);
PresentationUI (4)
InstallationError.xaml.cs (2)
212Notepad.StartInfo.FileName = "Notepad.exe"; 213Notepad.StartInfo.Arguments = LogFilePath;
TenFeetInstallationError.xaml.cs (2)
216Notepad.StartInfo.FileName = "Notepad.exe"; 217Notepad.StartInfo.Arguments = LogFilePath;
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (2)
1253/// Starts a process specified by the <see cref='System.Diagnostics.Process.StartInfo'/> property of this <see cref='System.Diagnostics.Process'/> 1267ProcessStartInfo startInfo = StartInfo;