33 writes to ArgumentList
AnalyzeCiFailure (1)
tools\Aspire.TestTools\GitHubApiClient.cs (1)
613ArgumentList = { "auth", "token", "--hostname", "github.com" }
aspire (1)
Certificates\CertificateGeneration\MacOSCertificateManager.cs (1)
118ArgumentList =
Aspire.Cli.Tests (6)
Commands\AppHostLauncherTests.cs (2)
627ArgumentList = { "-c", "read value; exit 11" } 637ArgumentList = { "-c", "read value; exit 11" }
DotNet\ProcessExecutionTests.cs (2)
333ArgumentList = { "/d", "/c", scriptFile.FullName } 345ArgumentList = { scriptFile.FullName }
Npm\AspireJsLauncherTests.cs (1)
308ArgumentList = { "+x", binaryPath },
Projects\AppHostServerProjectTests.cs (1)
155ArgumentList =
Aspire.Dashboard (2)
Model\VolumePathLauncher.cs (2)
83startInfo = new ProcessStartInfo("open") { ArgumentList = { "-R", fullPath } }; 92startInfo = new ProcessStartInfo("xdg-open") { ArgumentList = { folder } };
Aspire.Hosting.CodeGeneration.Go (1)
AtsGoCodeGenerator.cs (1)
309ArgumentList = { "-s" }
Aspire.Hosting.CodeGeneration.Go.Tests (7)
AtsGoCodeGeneratorTests.cs (6)
113ArgumentList = { "test", "-timeout", "30s", "-run", "^TestTerminalDto$", "." } 243ArgumentList = { "test", "-timeout", "30s", "." }, 1316ArgumentList = { "test", "-timeout", "30s", "." } 1792ArgumentList = { "test", "-timeout", "30s", "." } 2330ArgumentList = { "test", "-timeout", "30s", "." }, 2469ArgumentList = { "test", "-timeout", "30s", "." },
GoScaffoldTests.cs (1)
264ArgumentList = { "-s", "-l", "-d", "." }
Aspire.Hosting.CodeGeneration.Rust.Tests (1)
AtsRustCodeGeneratorTests.cs (1)
119ArgumentList = { "test", "--quiet", "--test", "terminal" }
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)
711ArgumentList = { "version", "--client" },
Aspire.Hosting.RemoteHost.Tests (1)
CapabilityDispatcherTests.cs (1)
152ArgumentList =
Aspire.TestTools (1)
GitHubApiClient.cs (1)
613ArgumentList = { "auth", "token", "--hostname", "github.com" }
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)
65ArgumentList = 125ArgumentList =
dotnet-user-secrets (2)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (2)
65ArgumentList = 125ArgumentList =
Microsoft.Build (1)
BackEnd\BuildManager\CoordinatorClient.cs (1)
555ArgumentList = { coordinatorDll },
482 references to ArgumentList
AnalyzeCiFailure (1)
tools\Aspire.TestTools\ProcessRunner.cs (1)
39process.StartInfo.ArgumentList.Add(argument);
AnalyzeCiFailure.Tests (6)
AnalyzeCiFailureWorkflowTests.cs (1)
5282process.StartInfo.ArgumentList.Add(argument == typeof(AnalyzeCiFailure.Program).Assembly.Location
tests\Infrastructure.Tests\ExecutableFile.cs (5)
42startInfo.ArgumentList.Add("-c"); 43startInfo.ArgumentList.Add("cat > \"$1\" && chmod \"$2\" \"$1\""); 44startInfo.ArgumentList.Add("sh"); 45startInfo.ArgumentList.Add(path); 46startInfo.ArgumentList.Add(Convert.ToString((int)mode, 8));
aspire (41)
Acquisition\PeerInstallProbe.cs (1)
217startInfo.ArgumentList.Add(arg);
Certificates\CertificateGeneration\UnixCertificateManager.cs (11)
996startInfo.ArgumentList.Add(argument); 1005startInfo.ArgumentList.Add("-A"); 1006startInfo.ArgumentList.Add("-i"); 1007startInfo.ArgumentList.Add(certificatePath); 1008startInfo.ArgumentList.Add("-t"); 1009startInfo.ArgumentList.Add($"{TrustUsage},,"); 1017startInfo.ArgumentList.Add("-D"); 1064startInfo.ArgumentList.Add("-d"); 1065startInfo.ArgumentList.Add($"sql:{Path}"); 1066startInfo.ArgumentList.Add("-n"); 1067startInfo.ArgumentList.Add(nickname);
DotNet\ProcessExecutionFactory.cs (2)
98string.IsNullOrEmpty(startInfo.Arguments) ? AppHostArgumentRedactor.RedactToString(startInfo.ArgumentList) : "[raw command arguments]"); 102var childStartInfo = CreateProcessStartInfo(startInfo.FileName, startInfo.ArgumentList, startInfo.WorkingDirectory, options);
Git\GitCommandRunner.cs (2)
280probe.ArgumentList.Clear(); 281probe.ArgumentList.Add("-V");
Git\GitRepository.cs (2)
29using var activity = profilingTelemetry.StartGitCommand("rev-parse", startInfo.FileName, startInfo.ArgumentList, executionContext.WorkingDirectory); 86using var activity = profilingTelemetry.StartGitCommand("ls-files", startInfo.FileName, startInfo.ArgumentList, searchRoot);
Projects\DotNetBasedAppHostServerProject.cs (4)
570startInfo.ArgumentList.Add("exec"); 571startInfo.ArgumentList.Add(assemblyPath); 575startInfo.ArgumentList.Add("--"); 578startInfo.ArgumentList.Add(arg);
Projects\NativeAppHostServerProject.cs (5)
141start.ArgumentList.Add("apphost-codegen-v2"); 142start.ArgumentList.Add(requestPath); 200startInfo.ArgumentList.Add("server"); 201startInfo.ArgumentList.Add("--contentRoot"); 202startInfo.ArgumentList.Add(AppDirectoryPath);
Projects\PrebuiltAppHostServer.cs (4)
867startInfo.ArgumentList.Add("server"); 868startInfo.ArgumentList.Add("--contentRoot"); 869startInfo.ArgumentList.Add(contentRootPath); 876startInfo.ArgumentList.Add(arg);
Projects\ProcessGuestLauncher.cs (1)
116startInfo.ArgumentList.Add(arg);
src\Shared\ChildProcess.cs (1)
76public 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);
Utils\ConfigurationHelper.cs (1)
669start.ArgumentList.Add(argument);
Utils\EnvironmentChecker\GoAppHostToolingCheck.cs (1)
360var arguments = string.Join(' ', startInfo.ArgumentList);
aspire-managed (2)
Program.cs (1)
87startInfo.ArgumentList.Add(argument);
TerminalHostForwarder.cs (1)
32startInfo.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)
107Require(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.Acquisition.Tests (5)
Scripts\Common\FileHelper.cs (4)
40startInfo.ArgumentList.Add("-c"); 41startInfo.ArgumentList.Add("cat > \"$1\" && chmod 700 \"$1\""); 42startInfo.ArgumentList.Add("sh"); 43startInfo.ArgumentList.Add(path);
Scripts\FileHelperTests.cs (1)
38startInfo.ArgumentList.Add("arg");
Aspire.Cli.EndToEnd.Tests (29)
Helpers\CliE2ETestHelpers.cs (18)
527startInfo.ArgumentList.Add("build"); 528startInfo.ArgumentList.Add("--quiet"); 529startInfo.ArgumentList.Add("--build-arg"); 530startInfo.ArgumentList.Add("SKIP_SOURCE_BUILD=true"); 532startInfo.ArgumentList.Add("-f"); 533startInfo.ArgumentList.Add(dockerfilePath); 534startInfo.ArgumentList.Add("-t"); 535startInfo.ArgumentList.Add(PolyglotBaseImageName); 536startInfo.ArgumentList.Add(repoRoot); 579startInfo.ArgumentList.Add("build"); 580startInfo.ArgumentList.Add("--quiet"); 582startInfo.ArgumentList.Add("-f"); 583startInfo.ArgumentList.Add(dockerfilePath); 584startInfo.ArgumentList.Add("-t"); 585startInfo.ArgumentList.Add(PodmanBaseImageName); 586startInfo.ArgumentList.Add(repoRoot); 675startInfo.ArgumentList.Add("--build-arg"); 676startInfo.ArgumentList.Add($"{name}={value}");
Helpers\GitHttpServer.cs (3)
51startInfo.ArgumentList.Add("-c"); 52startInfo.ArgumentList.Add($"safe.directory={Path.Combine(directory, "template.git")}"); 53startInfo.ArgumentList.Add("http-backend");
Helpers\KubernetesDeployTestHelpersTests.cs (2)
82startInfo.ArgumentList.Add("-c"); 83startInfo.ArgumentList.Add(command);
Helpers\LocalDeploymentTestHelpers.cs (1)
85process.StartInfo.ArgumentList.Add(argument);
McpDocsE2ETests.cs (1)
424startInfo.ArgumentList.Add(argument);
tests\Shared\E2ETelemetryEnvironment.cs (2)
22startInfo.ArgumentList.Add("-c"); 23startInfo.ArgumentList.Add(
tests\Shared\E2ETelemetryEnvironmentTests.cs (2)
21startInfo.ArgumentList.Add("-c"); 22startInfo.ArgumentList.Add(
Aspire.Cli.Tests (103)
Agents\TelemetryHookScriptTests.cs (1)
657psi.ArgumentList.Add(argument);
Backchannel\AuxiliaryBackchannelMonitorTests.cs (4)
805startInfo.ArgumentList.Add("file"); 806startInfo.ArgumentList.Add("setCaseSensitiveInfo"); 807startInfo.ArgumentList.Add(directoryPath); 808startInfo.ArgumentList.Add("enable");
Certificates\UnixCertificateManagerTests.cs (1)
726Assert.Equal(expectedArguments, startInfo.ArgumentList);
Commands\AppHostLauncherTests.cs (1)
1480var args = startInfo.ArgumentList.ToArray();
Commands\CompletionScriptTests.cs (1)
317startInfo.ArgumentList.Add(argument);
Commands\GoAppHostToolingCheckTests.cs (2)
395Assert.Equal(["version"], startInfo.ArgumentList); 405Assert.Equal(["env", "GOTOOLCHAIN"], startInfo.ArgumentList);
Configuration\ConfigSourceServiceGitTests.cs (7)
208startInfo.ArgumentList.Add("-NoProfile"); 209startInfo.ArgumentList.Add("-Command"); 212startInfo.ArgumentList.Add( 220startInfo.ArgumentList.Add("-c"); 221startInfo.ArgumentList.Add("printf 'Enter passphrase: ' >&2; printf '%1048576s' '' | tr ' ' x; sleep 60 & echo $! > \"$1\"; " + (parentExits ? "exit 0" : "wait")); 222startInfo.ArgumentList.Add("test-parent"); 223startInfo.ArgumentList.Add(pidFile);
DotNet\DotNetCliRunnerTests.cs (8)
577startInfo.ArgumentList.Add(argument); 2970processStartInfo.ArgumentList.Add("msbuild"); 2971processStartInfo.ArgumentList.Add(projectFile.FullName); 2972processStartInfo.ArgumentList.Add("-restore"); 2973processStartInfo.ArgumentList.Add("-t:ComputeRunArguments"); 2974processStartInfo.ArgumentList.Add("-getProperty:RunCommand,RunArguments,RunWorkingDirectory"); 2975processStartInfo.ArgumentList.Add("-nologo"); 2979processStartInfo.ArgumentList.Add("-p:NuGetAudit=false");
DotNet\ProcessExecutionFactoryEnvironmentTests.cs (1)
91Assert.Empty(startInfo.ArgumentList);
DotNet\ProcessExecutionTests.cs (2)
193Assert.Equal(["arg"], startInfo.ArgumentList); 358startInfo.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);
Git\GitCommandRunnerTests.Authentication.cs (1)
30: ["--literal-pathspecs", "ls-remote", "--", "repository"], info.ArgumentList);
Git\GitCommandRunnerTests.cs (13)
35Assert.Equal(["--literal-pathspecs", "fetch", "--", "-repository with spaces", "HEAD"], startInfo.ArgumentList); 287startInfo.ArgumentList.Clear(); 288foreach (var argument in shell.ArgumentList) 290startInfo.ArgumentList.Add(argument); 410startInfo.ArgumentList.Clear(); 411foreach (var argument in shell.ArgumentList) 413startInfo.ArgumentList.Add(argument); 444startInfo.ArgumentList.Add("-NoProfile"); 445startInfo.ArgumentList.Add("-NonInteractive"); 446startInfo.ArgumentList.Add("-Command"); 447startInfo.ArgumentList.Add(windowsCommand); 451startInfo.ArgumentList.Add("-c"); 452startInfo.ArgumentList.Add(unixCommand);
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)
643startInfo.ArgumentList.Add(argument);
Projects\NativeAppHostServerProjectTests.cs (5)
95Assert.Equal("apphost-codegen-v2", start.ArgumentList[0]); 96var request = JsonNode.Parse(File.ReadAllText(start.ArgumentList[1]))!; 172Assert.Equal(["server", "--contentRoot", workspace.Path], start.ArgumentList); 320Assert.Equal(["server", "--contentRoot", workspace.Path], start.ArgumentList); 483var 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"); 615startInfo.ArgumentList.Add("build"); 616startInfo.ArgumentList.Add(projectPath); 617startInfo.ArgumentList.Add("--nologo"); 836startInfo.ArgumentList.Add("build"); 837startInfo.ArgumentList.Add(generatedProjectPath); 838startInfo.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\Infrastructure.Tests\ExecutableFile.cs (5)
42startInfo.ArgumentList.Add("-c"); 43startInfo.ArgumentList.Add("cat > \"$1\" && chmod \"$2\" \"$1\""); 44startInfo.ArgumentList.Add("sh"); 45startInfo.ArgumentList.Add(path); 46startInfo.ArgumentList.Add(Convert.ToString((int)mode, 8));
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)
32guardian.ArgumentList.Clear(); 33guardian.ArgumentList.Add(typeof(Aspire.Cli.Program).Assembly.Location); 158var args = startInfo.ArgumentList.ToArray();
Aspire.Dashboard (5)
src\Shared\ChildProcess.cs (1)
76public 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.Dashboard.Tests (4)
Model\VolumePathLauncherTests.cs (4)
23Assert.Empty(startInfo.ArgumentList); 42Assert.Equal(["-R", "/src/my \"scripts\"/init.command"], startInfo.ArgumentList); 56Assert.Equal([Path.GetDirectoryName(path)!], startInfo.ArgumentList); 67Assert.Equal(["/src/data"], startInfo.ArgumentList);
Aspire.Deployment.EndToEnd.Tests (29)
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");
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);
tests\Shared\E2ETelemetryEnvironment.cs (2)
22startInfo.ArgumentList.Add("-c"); 23startInfo.ArgumentList.Add(
Aspire.Hosting (3)
ApplicationModel\ProcessCommandSpec.cs (1)
39/// Arguments are passed using <see cref="System.Diagnostics.ProcessStartInfo.ArgumentList"/> so that each item is
Dcp\Process\ProcessUtil.Capture.cs (1)
39process.StartInfo.ArgumentList.Add(argument);
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)
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 (3)
AtsGoCodeGeneratorTests.cs (1)
1824startInfo.ArgumentList.Insert(1, "-race");
AtsGoDerivedBuilderTests.cs (1)
427process.StartInfo.ArgumentList.Add(argument);
GoDocCommentTests.cs (1)
395process.StartInfo.ArgumentList.Add(argument);
Aspire.Hosting.CodeGeneration.Java.Tests (1)
AtsJavaCodeGeneratorTests.cs (1)
4094startInfo.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)
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)); 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)
52startInfo.ArgumentList.Add("msbuild"); 53startInfo.ArgumentList.Add(projectPath); 54startInfo.ArgumentList.Add("-nologo"); 55startInfo.ArgumentList.Add("-target:ComputeRunArguments"); 56startInfo.ArgumentList.Add("-getProperty:RunCommand,RunArguments,RunWorkingDirectory,TargetPath,UseAppHost"); 57startInfo.ArgumentList.Add($"-getResultOutputFile:{resultOutputPath}"); 58startInfo.ArgumentList.Add("-v:q"); 61startInfo.ArgumentList.Add($"-property:Configuration={buildConfiguration}"); 70startInfo.ArgumentList.Add(responseFile.Argument); 72startInfo.ArgumentList.Add("-property:GenerateFullPaths=true");
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
544startInfo.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)
213psi.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)
71start.ArgumentList.Add(argument);
Aspire.Hosting.Radius (10)
Publishing\RadCredentialRegisterStep.cs (1)
272process.StartInfo.ArgumentList.Add(a);
Publishing\RadiusDeploymentPipelineStep.cs (8)
337process.StartInfo.ArgumentList.Add(argument); 467process.StartInfo.ArgumentList.Add("version"); 468process.StartInfo.ArgumentList.Add("--cli"); 564process.StartInfo.ArgumentList.Add("deploy"); 565process.StartInfo.ArgumentList.Add(bicepPath); 570process.StartInfo.ArgumentList.Add("--parameters"); 571process.StartInfo.ArgumentList.Add("@" + parametersFile.Path); 573logger.LogInformation("Running: rad {Args}", string.Join(' ', process.StartInfo.ArgumentList));
Publishing\SealedSecretApplyStep.cs (1)
776process.StartInfo.ArgumentList.Add(a);
Aspire.Hosting.Redis.Tests (1)
AddRedisTests.cs (1)
824startInfo.ArgumentList.Add(arg);
Aspire.Hosting.RemoteHost (6)
src\Shared\ChildProcess.cs (1)
76public 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)
238startInfo.ArgumentList.ToArray()); 254Assert.Empty(startInfo.ArgumentList); 271Assert.Empty(startInfo.ArgumentList);
IntegrationHostProcessLauncherTests.cs (1)
108Assert.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)
2848startInfo.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)
194await TerminalHostForwarder.RequestShutdownAsync(startInfo.ArgumentList.ToArray(), shutdownTimeout.Token); 224startInfo.ArgumentList.Add("--invalid"); 384startInfo.ArgumentList.Add(managedAssembly); 385startInfo.ArgumentList.Add("terminalhost"); 390startInfo.ArgumentList.Add(Path.Combine(output, Path.GetFileName(hostAssemblyPath))); 392startInfo.ArgumentList.Add("--producer-uds"); 393startInfo.ArgumentList.Add(producerPath); 394startInfo.ArgumentList.Add("--consumer-uds"); 395startInfo.ArgumentList.Add(consumerPath); 396startInfo.ArgumentList.Add("--control-uds"); 397startInfo.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 (3)
GitHubCli.cs (2)
258processStartInfo.ArgumentList.Add(argument); 308processStartInfo.ArgumentList.Add(argument);
ProcessRunner.cs (1)
39process.StartInfo.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 (30)
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);
LinuxFolderApplicationTests.cs (1)
64Assert.Equal(expected, start.ArgumentList);
LinuxTrayTests.cs (1)
781"--startup-cli", options.StartupCliPath!], start.ArgumentList);
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\Linux\LinuxFolderApplication.cs (5)
44start.ArgumentList.Add(argument); 48if (start.ArgumentList.Count > 0 && start.ArgumentList[^1].EndsWith('=')) 50start.ArgumentList[^1] += directory; 54start.ArgumentList.Add(directory);
src\Aspire.Tray\Linux\LinuxTrayRuntime.cs (3)
139info.ArgumentList.Add(argument); 143info.ArgumentList.Add("--startup-cli"); 144info.ArgumentList.Add(startup);
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 (68)
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)
98processStartInfo.ArgumentList.Add("run"); 99processStartInfo.ArgumentList.Add(_fixture.ToolPath); 100processStartInfo.ArgumentList.Add("--"); 101processStartInfo.ArgumentList.Add(RunId.ToString());
ExecutableFile.cs (5)
42startInfo.ArgumentList.Add("-c"); 43startInfo.ArgumentList.Add("cat > \"$1\" && chmod \"$2\" \"$1\""); 44startInfo.ArgumentList.Add("sh"); 45startInfo.ArgumentList.Add(path); 46startInfo.ArgumentList.Add(Convert.ToString((int)mode, 8));
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)
250processStartInfo.ArgumentList.Add("run"); 251processStartInfo.ArgumentList.Add("--no-build"); 252processStartInfo.ArgumentList.Add("--project"); 253processStartInfo.ArgumentList.Add(_fixture.ToolProjectPath); 254processStartInfo.ArgumentList.Add("--"); 255processStartInfo.ArgumentList.Add(trxPath); 259processStartInfo.ArgumentList.Add(extraArg);
Pipelines\NixCliPackageTests.cs (2)
153process.StartInfo.ArgumentList.Add(scriptPath); 157process.StartInfo.ArgumentList.Add(argument);
Shared\GitCli.cs (2)
33psi.ArgumentList.Add("--no-pager"); 36psi.ArgumentList.Add(arg);
src\Shared\ProcessStartInfoHelper.cs (2)
23startInfo.ArgumentList.Clear(); 63startInfo.ArgumentList.Add(arg);
TestTriggerMap\TestTriggerMapTests.cs (7)
551startInfo.ArgumentList.Add("--no-pager"); 552startInfo.ArgumentList.Add("check-ignore"); 553startInfo.ArgumentList.Add("--"); 554startInfo.ArgumentList.Add("extension/java-e2e-workspace/AppHost.java"); 555startInfo.ArgumentList.Add("extension/java-e2e-workspace/aspire.config.json"); 556startInfo.ArgumentList.Add("extension/java-e2e-workspace/JavaSpringBoot.AppHost.Java/AppHost.java"); 557startInfo.ArgumentList.Add("extension/java-e2e-workspace/JavaSpringBoot.AppHost.Java/aspire.config.json");
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 (7)
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);
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.Build (2)
BackEnd\BuildManager\CoordinatorClient.cs (2)
509string arguments = startInfo.ArgumentList.Count == 0 ? startInfo.Arguments : $"\"{startInfo.ArgumentList[0]}\"";
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.Extensions.Telemetry.PerformanceTests (10)
RetainedMemoryMeasurement.cs (4)
183startInfo.ArgumentList.Add( 188startInfo.ArgumentList.Add("--retained-memory-worker"); 189startInfo.ArgumentList.Add(pipeline.ToString()); 191startInfo.ArgumentList.Add(recordCount.ToString(CultureInfo.InvariantCulture));
SustainedGcPressureMeasurement.cs (6)
306startInfo.ArgumentList.Add( 311startInfo.ArgumentList.Add("--sustained-gc-worker"); 312startInfo.ArgumentList.Add(strategy.ToString()); 313startInfo.ArgumentList.Add(duration.TotalSeconds.ToString(CultureInfo.InvariantCulture)); 315startInfo.ArgumentList.Add(logsPerMinute.ToString(CultureInfo.InvariantCulture)); 317startInfo.ArgumentList.Add(flushInterval.TotalSeconds.ToString(CultureInfo.InvariantCulture));
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)
469int argumentCount = ArgumentList.Count; 472string? argument = ArgumentList[i];
System\Diagnostics\ProcessUtils.Unix.cs (1)
326argvList.AddRange(psi.ArgumentList);