18 writes to ArgumentList
Aspire.Cli.Tests (6)
Commands\AppHostLauncherTests.cs (2)
627ArgumentList = { "-c", "read value; exit 11" } 637ArgumentList = { "-c", "read value; exit 11" }
DotNet\ProcessExecutionTests.cs (2)
330ArgumentList = { "/d", "/c", scriptFile.FullName } 342ArgumentList = { scriptFile.FullName }
Npm\AspireJsLauncherTests.cs (1)
308ArgumentList = { "+x", binaryPath },
Projects\AppHostServerProjectTests.cs (1)
129ArgumentList =
Aspire.Hosting.CodeGeneration.Go.Tests (1)
AtsGoCodeGeneratorTests.cs (1)
157ArgumentList = { "test", "-timeout", "30s", "." },
Aspire.Hosting.Java.Tests (3)
AddJavaAppPublishTests.cs (2)
57ArgumentList = { "-c", command }, 1882ArgumentList = { "-c", command },
AddJavaAppTests.cs (1)
829ArgumentList = { args[0] },
Aspire.Hosting.Native.Core.Tests (1)
NativeRedisAppHostTests.cs (1)
53ArgumentList =
Aspire.Hosting.Radius (1)
Publishing\SealedSecretApplyStep.cs (1)
703ArgumentList = { "version", "--client" },
Aspire.Tray.Tests (2)
WindowsTrayLauncherTests.cs (2)
117ArgumentList = { "-t", "127.0.0.1" } 145ArgumentList = { "/d", "/c", "exit", "0" }
dotnet-user-jwts (2)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (2)
66ArgumentList = 150ArgumentList =
dotnet-user-secrets (2)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (2)
66ArgumentList = 150ArgumentList =
376 references to ArgumentList
aspire (37)
Acquisition\PeerInstallProbe.cs (1)
217startInfo.ArgumentList.Add(arg);
Certificates\CertificateGeneration\UnixCertificateManager.cs (11)
995startInfo.ArgumentList.Add(argument); 1004startInfo.ArgumentList.Add("-A"); 1005startInfo.ArgumentList.Add("-i"); 1006startInfo.ArgumentList.Add(certificatePath); 1007startInfo.ArgumentList.Add("-t"); 1008startInfo.ArgumentList.Add($"{TrustUsage},,"); 1016startInfo.ArgumentList.Add("-D"); 1063startInfo.ArgumentList.Add("-d"); 1064startInfo.ArgumentList.Add($"sql:{Path}"); 1065startInfo.ArgumentList.Add("-n"); 1066startInfo.ArgumentList.Add(nickname);
DotNet\ProcessExecutionFactory.cs (2)
95string.IsNullOrEmpty(startInfo.Arguments) ? AppHostArgumentRedactor.RedactToString(startInfo.ArgumentList) : "[raw command arguments]"); 99var childStartInfo = CreateProcessStartInfo(startInfo.FileName, startInfo.ArgumentList, startInfo.WorkingDirectory, options);
Git\GitRepository.cs (2)
28using var activity = profilingTelemetry.StartGitCommand("rev-parse", startInfo.FileName, startInfo.ArgumentList, executionContext.WorkingDirectory); 85using var activity = profilingTelemetry.StartGitCommand("ls-files", startInfo.FileName, startInfo.ArgumentList, searchRoot);
Projects\DotNetBasedAppHostServerProject.cs (4)
566startInfo.ArgumentList.Add("exec"); 567startInfo.ArgumentList.Add(assemblyPath); 571startInfo.ArgumentList.Add("--"); 574startInfo.ArgumentList.Add(arg);
Projects\NativeAppHostServerProject.cs (5)
139start.ArgumentList.Add("apphost-codegen-v2"); 140start.ArgumentList.Add(requestPath); 198startInfo.ArgumentList.Add("server"); 199startInfo.ArgumentList.Add("--contentRoot"); 200startInfo.ArgumentList.Add(AppDirectoryPath);
Projects\PrebuiltAppHostServer.cs (4)
864startInfo.ArgumentList.Add("server"); 865startInfo.ArgumentList.Add("--contentRoot"); 866startInfo.ArgumentList.Add(contentRootPath); 873startInfo.ArgumentList.Add(arg);
Projects\ProcessGuestLauncher.cs (1)
116startInfo.ArgumentList.Add(arg);
src\Shared\ChildProcess.cs (1)
71public IReadOnlyList<string> Arguments => _startInfo.ArgumentList;
src\Shared\ProcessStartInfoHelper.cs (2)
23startInfo.ArgumentList.Clear(); 63startInfo.ArgumentList.Add(arg);
src\Shared\ProcessSupervisor.cs (3)
56startInfo.ArgumentList.Add(argument); 73ArgumentList = runtimeStartInfo.ArgumentList.ToArray() 121startInfo.ArgumentList.Add(argument);
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1152startInfo.ArgumentList.Add(argument);
aspire-managed (2)
Program.cs (1)
87startInfo.ArgumentList.Add(argument);
TerminalHostForwarder.cs (1)
31startInfo.ArgumentList.Add(argument);
aspire-tray (13)
FolderApplication.cs (5)
100start.ArgumentList.Add("-d"); 101start.ArgumentList.Add("."); 106start.ArgumentList.Add("-NoLogo"); 107start.ArgumentList.Add("-NoExit"); 111start.ArgumentList.Add(directory);
NativeSmokeHarness.cs (1)
106Require(launch.WorkingDirectory == folder && launch.ArgumentList.SequenceEqual(["-d", "."]),
src\Aspire.Tray\Common\CliProcess.cs (1)
28startInfo.ArgumentList.Add(argument);
src\Aspire.Tray\Common\TrayLaunchCommand.cs (5)
40startInfo.ArgumentList.Add(argument); 51foreach (var argument in startInfo.ArgumentList) 105startInfo.ArgumentList.Add(argument); 116startInfo.ArgumentList.Add("--startup-cli"); 117startInfo.ArgumentList.Add(startupCli);
src\Aspire.Tray\Common\WindowsTrayStartupSettings.cs (1)
47start.ArgumentList.Add(argument);
Aspire.Cli.EndToEnd.Tests (19)
Helpers\CliE2ETestHelpers.cs (18)
474startInfo.ArgumentList.Add("build"); 475startInfo.ArgumentList.Add("--quiet"); 476startInfo.ArgumentList.Add("--build-arg"); 477startInfo.ArgumentList.Add("SKIP_SOURCE_BUILD=true"); 479startInfo.ArgumentList.Add("-f"); 480startInfo.ArgumentList.Add(dockerfilePath); 481startInfo.ArgumentList.Add("-t"); 482startInfo.ArgumentList.Add(PolyglotBaseImageName); 483startInfo.ArgumentList.Add(repoRoot); 526startInfo.ArgumentList.Add("build"); 527startInfo.ArgumentList.Add("--quiet"); 529startInfo.ArgumentList.Add("-f"); 530startInfo.ArgumentList.Add(dockerfilePath); 531startInfo.ArgumentList.Add("-t"); 532startInfo.ArgumentList.Add(PodmanBaseImageName); 533startInfo.ArgumentList.Add(repoRoot); 622startInfo.ArgumentList.Add("--build-arg"); 623startInfo.ArgumentList.Add($"{name}={value}");
Helpers\LocalDeploymentTestHelpers.cs (1)
85process.StartInfo.ArgumentList.Add(argument);
Aspire.Cli.Tests (74)
Agents\TelemetryHookScriptTests.cs (1)
648psi.ArgumentList.Add(argument);
Backchannel\AuxiliaryBackchannelMonitorTests.cs (4)
798startInfo.ArgumentList.Add("file"); 799startInfo.ArgumentList.Add("setCaseSensitiveInfo"); 800startInfo.ArgumentList.Add(directoryPath); 801startInfo.ArgumentList.Add("enable");
Certificates\UnixCertificateManagerTests.cs (1)
724Assert.Equal(expectedArguments, startInfo.ArgumentList);
Commands\AppHostLauncherTests.cs (1)
1480var args = startInfo.ArgumentList.ToArray();
Commands\CompletionScriptTests.cs (1)
317startInfo.ArgumentList.Add(argument);
DotNet\DotNetCliRunnerTests.cs (7)
407startInfo.ArgumentList.Add(argument); 2675processStartInfo.ArgumentList.Add("msbuild"); 2676processStartInfo.ArgumentList.Add(projectFile.FullName); 2677processStartInfo.ArgumentList.Add("-restore"); 2678processStartInfo.ArgumentList.Add("-t:ComputeRunArguments"); 2679processStartInfo.ArgumentList.Add("-getProperty:RunCommand,RunArguments,RunWorkingDirectory"); 2680processStartInfo.ArgumentList.Add("-nologo");
DotNet\ProcessExecutionFactoryEnvironmentTests.cs (1)
50Assert.Empty(startInfo.ArgumentList);
DotNet\ProcessExecutionTests.cs (2)
192Assert.Equal(["arg"], startInfo.ArgumentList); 355startInfo.ArgumentList.ToArray(),
DotNetSdkInstallerTests.cs (5)
344startInfo.ArgumentList.Add("-NoProfile"); 345startInfo.ArgumentList.Add("-ExecutionPolicy"); 346startInfo.ArgumentList.Add("Bypass"); 347startInfo.ArgumentList.Add("-File"); 348startInfo.ArgumentList.Add(scriptFile);
Npm\AspireJsLauncherTests.cs (7)
329psi.ArgumentList.Add("--require"); 330psi.ArgumentList.Add(requiredScript); 332psi.ArgumentList.Add(launcherScript); 335psi.ArgumentList.Add(arg); 352psi.ArgumentList.Add(scriptPath); 366psi.ArgumentList.Add("-p"); 367psi.ArgumentList.Add("process.execPath");
Npm\NpmRunnerTests.cs (5)
59Assert.Empty(startInfo.ArgumentList); 97Assert.Equal(["view", "express", "version"], startInfo.ArgumentList); 113Assert.Equal(["view", "@playwright/cli@0.1.1", "version"], startInfo.ArgumentList); 130Assert.Equal(["view", "express", "version"], startInfo.ArgumentList); 143Assert.Empty(startInfo.ArgumentList);
Processes\ProcessTreeGracefulShutdownServiceTests.cs (4)
425startInfo.ArgumentList.Add("-c"); 426startInfo.ArgumentList.Add("trap '' TERM; exec sleep 60"); 441startInfo.ArgumentList.Add("-c"); 442startInfo.ArgumentList.Add("exec sleep 60");
Projects\AppHostServerSessionTests.cs (2)
709startInfo.ArgumentList.Add("--version"); 760startInfo.ArgumentList.Add(arg);
Projects\JavaAppHostToolchainResolverTests.cs (1)
642startInfo.ArgumentList.Add(argument);
Projects\NativeAppHostServerProjectTests.cs (5)
86Assert.Equal("apphost-codegen-v2", start.ArgumentList[0]); 87var request = JsonNode.Parse(File.ReadAllText(start.ArgumentList[1]))!; 163Assert.Equal(["server", "--contentRoot", workspace.Path], start.ArgumentList); 311Assert.Equal(["server", "--contentRoot", workspace.Path], start.ArgumentList); 474var request = JsonNode.Parse(File.ReadAllText(start.ArgumentList[1]))!;
Projects\PrebuiltAppHostServerTests.cs (13)
174startInfo.ArgumentList.Add("restore"); 175startInfo.ArgumentList.Add(projectPath); 176startInfo.ArgumentList.Add("--configfile"); 177startInfo.ArgumentList.Add(nuGetConfigPath); 178startInfo.ArgumentList.Add("--packages"); 179startInfo.ArgumentList.Add(packagesDirectory.FullName); 180startInfo.ArgumentList.Add("--nologo"); 495startInfo.ArgumentList.Add("build"); 496startInfo.ArgumentList.Add(projectPath); 497startInfo.ArgumentList.Add("--nologo"); 716startInfo.ArgumentList.Add("build"); 717startInfo.ArgumentList.Add(generatedProjectPath); 718startInfo.ArgumentList.Add("--nologo");
Telemetry\InternalMicrosoftDetectorTests.cs (7)
901startInfo.ArgumentList.Clear(); 912startInfo.ArgumentList.Add("-c"); 913startInfo.ArgumentList.Add(useStderr ? "cat \"$1\" 1>&2" : "cat \"$1\""); 914startInfo.ArgumentList.Add("probe"); 915startInfo.ArgumentList.Add(outputPath); 1029startInfo.ArgumentList.Add("platform"); 1030startInfo.ArgumentList.Add("-s");
tests\Shared\Processes\ProcessTestFixture.cs (4)
102startInfo.ArgumentList.Add(_assemblyPath); 105startInfo.ArgumentList.Add(argument); 120startInfo.ArgumentList.Clear(); 121startInfo.ArgumentList.Add(_assemblyPath);
TestServices\TestProcessExecutionFactory.cs (3)
33guardian.ArgumentList.Clear(); 34guardian.ArgumentList.Add(typeof(Aspire.Cli.Program).Assembly.Location); 159var args = startInfo.ArgumentList.ToArray();
Aspire.Dashboard (5)
src\Shared\ChildProcess.cs (1)
71public IReadOnlyList<string> Arguments => _startInfo.ArgumentList;
src\Shared\ProcessSupervisor.cs (3)
56startInfo.ArgumentList.Add(argument); 73ArgumentList = runtimeStartInfo.ArgumentList.ToArray() 121startInfo.ArgumentList.Add(argument);
src\Shared\Telemetry\InternalMicrosoftDetector.cs (1)
1152startInfo.ArgumentList.Add(argument);
Aspire.Dashboard.Playwright.Tests (5)
Integration\Playwright\NativeAotDashboardTests.cs (5)
47startInfo.ArgumentList.Add("--ASPNETCORE_URLS=http://127.0.0.1:0"); 48startInfo.ArgumentList.Add("--ASPIRE_DASHBOARD_UNSECURED_ALLOW_ANONYMOUS=true"); 49startInfo.ArgumentList.Add("--Dashboard:Otlp:GrpcEndpointUrl=http://127.0.0.1:0"); 50startInfo.ArgumentList.Add("--Dashboard:Otlp:HttpEndpointUrl=http://127.0.0.1:0"); 51startInfo.ArgumentList.Add("--Dashboard:Otlp:AuthMode=Unsecured");
Aspire.Deployment.EndToEnd.Tests (11)
AcaExpressDeploymentTests.cs (1)
419process.StartInfo.ArgumentList.Add(argument);
AksCrossResourceGroupRegistryDeploymentTests.cs (1)
413process.StartInfo.ArgumentList.Add(argument);
AzureSandboxesDeploymentTests.cs (8)
733startInfo.ArgumentList.Add("group"); 734startInfo.ArgumentList.Add("delete"); 735startInfo.ArgumentList.Add("--name"); 736startInfo.ArgumentList.Add(resourceGroupName); 737startInfo.ArgumentList.Add("--subscription"); 738startInfo.ArgumentList.Add(subscriptionId); 739startInfo.ArgumentList.Add("--yes"); 740startInfo.ArgumentList.Add("--no-wait");
Helpers\DotnetProjectDeploymentHelpers.cs (1)
116process.StartInfo.ArgumentList.Add(argument);
Aspire.Hosting (2)
ApplicationModel\ProcessCommandSpec.cs (1)
39/// Arguments are passed using <see cref="System.Diagnostics.ProcessStartInfo.ArgumentList"/> so that each item is
Dcp\Process\ProcessUtil.cs (1)
61process.StartInfo.ArgumentList.Add(argument);
Aspire.Hosting.Azure (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
61process.StartInfo.ArgumentList.Add(argument);
Aspire.Hosting.Azure.Tests (6)
FoundryExtensionsTests.cs (6)
247process.StartInfo.ArgumentList.Add("/d"); 248process.StartInfo.ArgumentList.Add("/s"); 249process.StartInfo.ArgumentList.Add("/c"); 250process.StartInfo.ArgumentList.Add("echo startup failed>&2&exit /b 42"); 254process.StartInfo.ArgumentList.Add("-c"); 255process.StartInfo.ArgumentList.Add("printf 'startup failed\\n' >&2; exit 42");
Aspire.Hosting.CodeGeneration.Java.Tests (1)
AtsJavaCodeGeneratorTests.cs (1)
3838startInfo.ArgumentList.Add(arg);
Aspire.Hosting.CodeGeneration.Python (2)
PythonLanguageSupport.cs (2)
270startInfo.ArgumentList.Add("--version"); 276startInfo.ArgumentList.Add(arg);
Aspire.Hosting.CodeGeneration.Python.Tests (2)
AtsPythonCodeGeneratorTests.cs (2)
661process.StartInfo.ArgumentList.Add("-c"); 662process.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)); 379psi.ArgumentList.Add(a);
Aspire.Hosting.Docker (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
61process.StartInfo.ArgumentList.Add(argument);
Aspire.Hosting.Dotnet (10)
DotnetProjectRunPropertiesResolver.cs (10)
50startInfo.ArgumentList.Add("msbuild"); 51startInfo.ArgumentList.Add(projectPath); 52startInfo.ArgumentList.Add("-nologo"); 53startInfo.ArgumentList.Add("-target:ComputeRunArguments"); 54startInfo.ArgumentList.Add("-getProperty:RunCommand,RunArguments,RunWorkingDirectory"); 55startInfo.ArgumentList.Add($"-getResultOutputFile:{resultOutputPath}"); 56startInfo.ArgumentList.Add("-v:q"); 59startInfo.ArgumentList.Add($"-property:Configuration={buildConfiguration}"); 68startInfo.ArgumentList.Add(responseFile.Argument); 70startInfo.ArgumentList.Add("-property:GenerateFullPaths=true");
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
549startInfo.ArgumentList.Add(argument.ToString()!);
Aspire.Hosting.Foundry (1)
FoundryLocalService.cs (1)
502startInfo.ArgumentList.Add(argument);
Aspire.Hosting.Kubernetes (1)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (1)
61process.StartInfo.ArgumentList.Add(argument);
Aspire.Hosting.Maui (1)
Lifecycle\MauiBuildQueueEventSubscriber.cs (1)
209psi.ArgumentList.Add(arg);
Aspire.Hosting.Native.Client (1)
NativeProviderHost.cs (1)
103start.ArgumentList.Add(argument);
Aspire.Hosting.Native.Core.Tests (21)
NativeComposeCSharpDockerTests.cs (6)
85start.ArgumentList.Add("--native-endpoint=" + host.Endpoint); 86start.ArgumentList.Add("--native-application-root=" + source); 87start.ArgumentList.Add("--step=" + target); 88start.ArgumentList.Add("--environment=" + environment); 89start.ArgumentList.Add("--output-path=" + work.FullName); 90start.ArgumentList.Add("--image=" + image);
NativeComposeCSharpTests.cs (2)
143start.ArgumentList.Add(script); 144start.ArgumentList.Add(requestPath);
NativeIpcSecurityTests.cs (2)
73start.ArgumentList.Add("-n"); 81start.ArgumentList.Add(argument);
NativeProductCliTests.cs (1)
106start.ArgumentList.Add(argument);
NativeRedisAppHostTests.cs (3)
71start.ArgumentList.Add("volume"); 72start.ArgumentList.Add("rm"); 73start.ArgumentList.Add(volume);
NativeRpcAuthoringTests.cs (2)
303start.ArgumentList.Add(script); 304start.ArgumentList.Add(Assert.IsType<IPEndPoint>(host.Endpoint).Port.ToString(CultureInfo.InvariantCulture));
TestServices\NativeClientTestHost.cs (2)
57start.ArgumentList.Add("--port"); 58start.ArgumentList.Add("0");
TestServices\NativeIntegrationAppHostRunner.cs (1)
15start.ArgumentList.Add(argument);
TestServices\NativeProviderProcessTestHost.cs (2)
22start.ArgumentList.Add("-c"); 25start.ArgumentList.Add(retainOutput ? "sleep 60 & printf '%s\\n' \"$!\"; exit 0" : "exit 0");
Aspire.Hosting.Native.Server (1)
Dcp\DcpApiClient.cs (1)
78start.ArgumentList.Add(argument);
Aspire.Hosting.Radius (10)
Publishing\RadCredentialRegisterStep.cs (1)
272process.StartInfo.ArgumentList.Add(a);
Publishing\RadiusDeploymentPipelineStep.cs (8)
340process.StartInfo.ArgumentList.Add(argument); 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)
768process.StartInfo.ArgumentList.Add(a);
Aspire.Hosting.RemoteHost (6)
src\Shared\ChildProcess.cs (1)
71public IReadOnlyList<string> Arguments => _startInfo.ArgumentList;
src\Shared\ProcessStartInfoHelper.cs (2)
23startInfo.ArgumentList.Clear(); 63startInfo.ArgumentList.Add(arg);
src\Shared\ProcessSupervisor.cs (3)
56startInfo.ArgumentList.Add(argument); 73ArgumentList = runtimeStartInfo.ArgumentList.ToArray() 121startInfo.ArgumentList.Add(argument);
Aspire.Hosting.RemoteHost.Tests (9)
IntegrationHostLauncherTests.cs (3)
233startInfo.ArgumentList.ToArray()); 249Assert.Empty(startInfo.ArgumentList); 266Assert.Empty(startInfo.ArgumentList);
IntegrationHostProcessLauncherTests.cs (1)
107Assert.Equal([entryPoint, "space argument"], startInfo.ArgumentList);
tests\Shared\Processes\ProcessTestFixture.cs (4)
102startInfo.ArgumentList.Add(_assemblyPath); 105startInfo.ArgumentList.Add(argument); 120startInfo.ArgumentList.Clear(); 121startInfo.ArgumentList.Add(_assemblyPath);
TestServices\TestIntegrationHostProcessFactory.cs (1)
34public IReadOnlyList<string> Arguments => startInfo.ArgumentList;
Aspire.Hosting.Rust (1)
CargoMetadataReader.cs (1)
76startInfo.ArgumentList.Add(argument);
Aspire.Hosting.Rust.Tests (2)
RustDockerfileShellTests.cs (2)
209startInfo.ArgumentList.Add("-c"); 210startInfo.ArgumentList.Add(command);
Aspire.Hosting.Sdk.Tests (1)
AppHostSdkTargetsTests.cs (1)
2217startInfo.ArgumentList.Add(argument);
Aspire.Hosting.Tasks (2)
src\Shared\ProcessStartInfoHelper.cs (2)
23startInfo.ArgumentList.Clear(); 63startInfo.ArgumentList.Add(arg);
Aspire.Managed.Tests (11)
TerminalHostSignalTests.cs (11)
117await TerminalHostForwarder.RequestShutdownAsync(startInfo.ArgumentList.ToArray(), shutdownTimeout.Token); 147startInfo.ArgumentList.Add("--invalid"); 307startInfo.ArgumentList.Add(managedAssembly); 308startInfo.ArgumentList.Add("terminalhost"); 313startInfo.ArgumentList.Add(Path.Combine(output, Path.GetFileName(hostAssemblyPath))); 315startInfo.ArgumentList.Add("--producer-uds"); 316startInfo.ArgumentList.Add(producerPath); 317startInfo.ArgumentList.Add("--consumer-uds"); 318startInfo.ArgumentList.Add(consumerPath); 319startInfo.ArgumentList.Add("--control-uds"); 320startInfo.ArgumentList.Add(controlPath);
Aspire.Playground.Tests (4)
tests\Aspire.TestUtilities\TestcontainersPodmanConfiguration.cs (4)
243startInfo.ArgumentList.Add("machine"); 244startInfo.ArgumentList.Add("inspect"); 245startInfo.ArgumentList.Add("--format"); 246startInfo.ArgumentList.Add("{{.ConnectionInfo.PodmanSocket.Path}}");
Aspire.TestTools (2)
GitHubCli.cs (2)
258processStartInfo.ArgumentList.Add(argument); 308processStartInfo.ArgumentList.Add(argument);
Aspire.TestUtilities (4)
TestcontainersPodmanConfiguration.cs (4)
243startInfo.ArgumentList.Add("machine"); 244startInfo.ArgumentList.Add("inspect"); 245startInfo.ArgumentList.Add("--format"); 246startInfo.ArgumentList.Add("{{.ConnectionInfo.PodmanSocket.Path}}");
Aspire.Tray.Tests (20)
CliAppHostClientTests.cs (1)
22startInfo.ArgumentList);
CliAppHostCommandsTests.cs (3)
21Assert.Equal(Arguments(new AppHostId(path, 42, 1000)), startInfo.ArgumentList); 32Assert.Equal(Arguments(host), startInfo.ArgumentList); 219Assert.Equal(["start", "--apphost", appHost, "--non-interactive", "--nologo"], info.ArgumentList);
Helpers\TestNativeCommand.cs (1)
20startInfo.ArgumentList.Add(argument);
MacTrayLauncherTests.cs (2)
224start.ArgumentList.Add("-c"); 225start.ArgumentList.Add(command);
src\Aspire.Tray\Common\CliProcess.cs (1)
28startInfo.ArgumentList.Add(argument);
src\Aspire.Tray\Common\TrayLaunchCommand.cs (5)
40startInfo.ArgumentList.Add(argument); 51foreach (var argument in startInfo.ArgumentList) 105startInfo.ArgumentList.Add(argument); 116startInfo.ArgumentList.Add("--startup-cli"); 117startInfo.ArgumentList.Add(startupCli);
src\Aspire.Tray\Common\WindowsTrayStartupSettings.cs (1)
47start.ArgumentList.Add(argument);
src\Aspire.Tray\Mac\MacDetachedProcess.cs (1)
67using var arguments = new NativeStrings([startInfo.FileName, .. startInfo.ArgumentList]);
TrayLaunchCommandTests.cs (1)
26}, start.ArgumentList);
TrayStartupOptionsTests.cs (1)
27Assert.Equal(expected, start.ArgumentList);
WindowsTrayLaunchCommandTests.cs (2)
27Assert.Equal(new[] { "--cli", bundle.CliPath, "--bundle-root", bundle.Root }, start.ArgumentList); 74start.ArgumentList.Add(argument);
WindowsTrayStartupSettingsTests.cs (1)
259Assert.Equal(["tray", "start", "--non-interactive", "--nologo"], start.ArgumentList);
dotnet-getdocument (1)
Exe.cs (1)
31startInfo.ArgumentList.Add(argument);
GenerateTemplateManifest (1)
Program.cs (1)
181startInfo.ArgumentList.Add(argument);
Infrastructure.Tests (67)
CreateFailingTestIssue\CreateFailingTestIssueToolTests.cs (7)
632processStartInfo.ArgumentList.Add("run"); 633processStartInfo.ArgumentList.Add("--no-build"); 634processStartInfo.ArgumentList.Add("--project"); 635processStartInfo.ArgumentList.Add(_fixture.ToolProjectPath); 636processStartInfo.ArgumentList.Add("--"); 640processStartInfo.ArgumentList.Add(arg); 645_output.WriteLine($"Running: {processStartInfo.FileName} {string.Join(" ", processStartInfo.ArgumentList)}");
DownloadFailingJobLogs\DownloadFailingJobLogsToolTests.cs (4)
97processStartInfo.ArgumentList.Add("run"); 98processStartInfo.ArgumentList.Add(_fixture.ToolPath); 99processStartInfo.ArgumentList.Add("--"); 100processStartInfo.ArgumentList.Add(RunId.ToString());
ExtractTestPartitions\ExtractTestPartitionsTests.cs (7)
298psi.ArgumentList.Add("run"); 299psi.ArgumentList.Add("--no-build"); 300psi.ArgumentList.Add("--project"); 301psi.ArgumentList.Add(_fixture.ToolProjectPath); 305psi.ArgumentList.Add("--"); 308psi.ArgumentList.Add(arg); 312_output.WriteLine($"Running: {psi.FileName} {string.Join(" ", psi.ArgumentList)}");
GenerateTestSummary\GenerateTestSummaryToolTests.cs (7)
249processStartInfo.ArgumentList.Add("run"); 250processStartInfo.ArgumentList.Add("--no-build"); 251processStartInfo.ArgumentList.Add("--project"); 252processStartInfo.ArgumentList.Add(_fixture.ToolProjectPath); 253processStartInfo.ArgumentList.Add("--"); 254processStartInfo.ArgumentList.Add(trxPath); 258processStartInfo.ArgumentList.Add(extraArg);
Hex1bNativePublishingTests.cs (1)
455startInfo.ArgumentList.Add(argument);
Pipelines\NixCliPackageTests.cs (2)
163process.StartInfo.ArgumentList.Add(scriptPath); 167process.StartInfo.ArgumentList.Add(argument);
Shared\GitCli.cs (2)
33psi.ArgumentList.Add("--no-pager"); 36psi.ArgumentList.Add(arg);
Shared\ProcessRunner.cs (1)
30process.StartInfo.ArgumentList.Add(argument);
TestTriggerMap\TestTriggerMapTests.cs (7)
434startInfo.ArgumentList.Add("--no-pager"); 435startInfo.ArgumentList.Add("check-ignore"); 436startInfo.ArgumentList.Add("--"); 437startInfo.ArgumentList.Add("extension/java-e2e-workspace/AppHost.java"); 438startInfo.ArgumentList.Add("extension/java-e2e-workspace/aspire.config.json"); 439startInfo.ArgumentList.Add("extension/java-e2e-workspace/JavaSpringBoot.AppHost.Java/AppHost.java"); 440startInfo.ArgumentList.Add("extension/java-e2e-workspace/JavaSpringBoot.AppHost.Java/aspire.config.json");
WorkflowScripts\AnalyzeCiFailureWorkflowTests.cs (2)
4708process.StartInfo.ArgumentList.Add(scriptPath); 4866process.StartInfo.ArgumentList.Add(argument);
WorkflowScripts\DeploymentTestScriptTests.cs (5)
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");
WorkflowScripts\ExtensionChangelogFinalizedWorkflowTests.cs (2)
262process.StartInfo.ArgumentList.Add(scriptPath); 437process.StartInfo.ArgumentList.Add(arg);
WorkflowScripts\ExtensionReleaseWorkflowTests.cs (9)
359startInfo.ArgumentList.Add(s_releaseNotesGeneratorPath); 360startInfo.ArgumentList.Add(commitsPath); 361startInfo.ArgumentList.Add(outputPath); 410process.StartInfo.ArgumentList.Add(scriptPath); 413process.StartInfo.ArgumentList.Add(arg); 442process.StartInfo.ArgumentList.Add(scriptPath); 445process.StartInfo.ArgumentList.Add(arg); 516process.StartInfo.ArgumentList.Add("-c"); 517process.StartInfo.ArgumentList.Add(command);
WorkflowScripts\MtpExitCodeScriptTests.cs (1)
61process.StartInfo.ArgumentList.Add(argument);
WorkflowScripts\NodeCommand.cs (2)
191psi.ArgumentList.Add(scriptPath); 194psi.ArgumentList.Add(arg);
WorkflowScripts\PrDocsCheckWorkflowTests.cs (8)
31startInfo.ArgumentList.Add("-m"); 32startInfo.ArgumentList.Add("unittest"); 33startInfo.ArgumentList.Add("discover"); 34startInfo.ArgumentList.Add("-s"); 35startInfo.ArgumentList.Add(".github/workflows/pr-docs-check"); 36startInfo.ArgumentList.Add("-p"); 37startInfo.ArgumentList.Add("test_*.py"); 38startInfo.ArgumentList.Add("-v");
Microsoft.CodeAnalysis.Workspaces.MSBuild (1)
MSBuild\BuildHostProcessManager.cs (1)
375processStartInfo.ArgumentList.Add(argument);
Microsoft.DotNet.Cli.InternalMicrosoft (1)
Internal\InternalMicrosoftDetectionContext.cs (1)
210process.StartInfo.ArgumentList.Add(argument);
Microsoft.DotNet.HotReload.Watch (1)
Process\ProcessRunner.cs (1)
166process.StartInfo.ArgumentList.Add(processSpec.Arguments[i]);
Microsoft.Extensions.DataIngestion.MarkItDown (2)
MarkItDownReader.cs (2)
65startInfo.ArgumentList.Add(source.FullName); 68startInfo.ArgumentList.Add("--keep-data-uris");
Microsoft.Extensions.Http.Resilience.Tests (1)
BuildTransitive\GrpcNetClientFactoryVersionTargetTests.cs (1)
297processStartInfo.ArgumentList.Add(argument);
Microsoft.NET.Build.Containers (2)
LocalDaemons\ContainerRuntimeOperations.cs (2)
52loadInfo.ArgumentList.Add(argument); 197startInfo.ArgumentList.Add(argument);
NativeIntegrations.DockerCompose (1)
DockerCommand.cs (1)
30process.StartInfo.ArgumentList.Add(argument);
SelectTests (3)
GraphAffectedProjects.cs (2)
560startInfo.ArgumentList.Add("--no-pager"); 563startInfo.ArgumentList.Add(argument);
Program.cs (1)
1338psi.ArgumentList.Add(arg);
System.Diagnostics.Process (3)
System\Diagnostics\ProcessStartInfo.cs (2)
464int argumentCount = ArgumentList.Count; 467string? argument = ArgumentList[i];
System\Diagnostics\ProcessUtils.Unix.cs (1)
326argvList.AddRange(psi.ArgumentList);