225 instantiations of ProcessStartInfo
aspire (34)
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (1)
30var startInfo = new ProcessStartInfo(executablePath, "--version")
Agents\CopilotCli\CopilotCliRunner.cs (1)
30var startInfo = new ProcessStartInfo(executablePath, "--version")
Agents\OpenCode\OpenCodeCliRunner.cs (1)
30var startInfo = new ProcessStartInfo(executablePath, "--version")
Agents\Playwright\PlaywrightCliRunner.cs (2)
27var startInfo = new ProcessStartInfo(executablePath, "--version") 92var startInfo = new ProcessStartInfo(executablePath)
Agents\VsCode\VsCodeCliRunner.cs (1)
31var startInfo = new ProcessStartInfo(executablePath, "--version")
Certificates\CertificateGeneration\MacOSCertificateManager.cs (5)
159using var checkTrustProcess = Process.Start(new ProcessStartInfo( 206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 288using var findCertificateProcess = Process.Start(new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
Certificates\CertificateGeneration\UnixCertificateManager.cs (6)
688var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 709var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 762var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 936var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 980var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
Certificates\CertificateHelpers.cs (1)
92var processInfo = new ProcessStartInfo("openssl", "version -d")
Commands\UpdateCommand.cs (1)
492var psi = new ProcessStartInfo
DotNet\DotNetCliExecutionFactory.cs (1)
43var startInfo = new ProcessStartInfo("dotnet")
DotNet\DotNetSdkInstaller.cs (1)
34StartInfo = new ProcessStartInfo
Git\GitRepository.cs (1)
23var startInfo = new ProcessStartInfo("git", "rev-parse --show-toplevel")
Npm\NpmRunner.cs (1)
233var startInfo = new ProcessStartInfo(npmPath)
OpenCode\OpenCodeCliRunner.cs (1)
23var startInfo = new ProcessStartInfo("opencode", "--version")
Processes\DetachedProcessLauncher.Unix.cs (1)
20var startInfo = new ProcessStartInfo
Projects\DotNetBasedAppHostServerProject.cs (2)
476var startInfo = new ProcessStartInfo(dotnetExe) 549var startInfo = new ProcessStartInfo("dotnet")
Projects\PrebuiltAppHostServer.cs (1)
413var startInfo = new ProcessStartInfo(serverPath)
Projects\ProcessGuestLauncher.cs (1)
46var startInfo = new ProcessStartInfo
Utils\CliDownloader.cs (1)
124var psi = new ProcessStartInfo
Utils\EnvironmentChecker\ContainerRuntimeCheck.cs (3)
91var versionProcessInfo = new ProcessStartInfo 240var psProcessInfo = new ProcessStartInfo 455var processInfo = new ProcessStartInfo
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (1)
26var processInfo = new ProcessStartInfo
Aspire.Cli.EndToEnd.Tests (1)
tests\Shared\TemporaryRepo.cs (1)
24StartInfo = new ProcessStartInfo
Aspire.Cli.Tests (1)
tests\Shared\TemporaryRepo.cs (1)
24StartInfo = new ProcessStartInfo
Aspire.Deployment.EndToEnd.Tests (28)
AcaCompactNamingDeploymentTests.cs (1)
194StartInfo = new System.Diagnostics.ProcessStartInfo
AcaCompactNamingUpgradeDeploymentTests.cs (1)
308StartInfo = new System.Diagnostics.ProcessStartInfo
AcaCustomRegistryDeploymentTests.cs (1)
264StartInfo = new System.Diagnostics.ProcessStartInfo
AcaDeploymentErrorOutputTests.cs (1)
194StartInfo = new System.Diagnostics.ProcessStartInfo
AcaExistingRegistryDeploymentTests.cs (1)
288StartInfo = new System.Diagnostics.ProcessStartInfo
AcaManagedRedisDeploymentTests.cs (1)
366StartInfo = new System.Diagnostics.ProcessStartInfo
AcaStarterDeploymentTests.cs (1)
233StartInfo = new System.Diagnostics.ProcessStartInfo
AcrPurgeTaskDeploymentTests.cs (1)
295StartInfo = new System.Diagnostics.ProcessStartInfo
AksStarterDeploymentTests.cs (1)
381StartInfo = new System.Diagnostics.ProcessStartInfo
AksStarterWithRedisDeploymentTests.cs (1)
409StartInfo = new System.Diagnostics.ProcessStartInfo
AppServicePythonDeploymentTests.cs (1)
218StartInfo = new System.Diagnostics.ProcessStartInfo
AppServiceReactDeploymentTests.cs (1)
233StartInfo = new System.Diagnostics.ProcessStartInfo
AzureAppConfigDeploymentTests.cs (1)
199StartInfo = new System.Diagnostics.ProcessStartInfo
AzureContainerRegistryDeploymentTests.cs (1)
174StartInfo = new System.Diagnostics.ProcessStartInfo
AzureEventHubsDeploymentTests.cs (1)
199StartInfo = new System.Diagnostics.ProcessStartInfo
AzureKeyVaultDeploymentTests.cs (1)
199StartInfo = new System.Diagnostics.ProcessStartInfo
AzureLogAnalyticsDeploymentTests.cs (1)
174StartInfo = new System.Diagnostics.ProcessStartInfo
AzureServiceBusDeploymentTests.cs (1)
201StartInfo = new System.Diagnostics.ProcessStartInfo
AzureStorageDeploymentTests.cs (1)
206StartInfo = new System.Diagnostics.ProcessStartInfo
PythonFastApiDeploymentTests.cs (1)
219StartInfo = new System.Diagnostics.ProcessStartInfo
tests\Shared\TemporaryRepo.cs (1)
24StartInfo = new ProcessStartInfo
TypeScriptExpressDeploymentTests.cs (1)
214StartInfo = new System.Diagnostics.ProcessStartInfo
VnetKeyVaultConnectivityDeploymentTests.cs (1)
283StartInfo = new System.Diagnostics.ProcessStartInfo
VnetKeyVaultInfraDeploymentTests.cs (1)
214StartInfo = new System.Diagnostics.ProcessStartInfo
VnetSqlServerConnectivityDeploymentTests.cs (1)
284StartInfo = new System.Diagnostics.ProcessStartInfo
VnetSqlServerInfraDeploymentTests.cs (1)
215StartInfo = new System.Diagnostics.ProcessStartInfo
VnetStorageBlobConnectivityDeploymentTests.cs (1)
290StartInfo = new System.Diagnostics.ProcessStartInfo
VnetStorageBlobInfraDeploymentTests.cs (1)
216StartInfo = 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)
210var psi = new ProcessStartInfo
Aspire.Hosting.DevTunnels (1)
DevTunnelCli.cs (1)
347var psi = new ProcessStartInfo
Aspire.Hosting.JavaScript.Tests (2)
AddJavaScriptAppTests.cs (2)
125var processStartInfo = new ProcessStartInfo 147using var cleanupProcess = Process.Start(new ProcessStartInfo
Aspire.Hosting.Maui (1)
Utilities\ProjectFileReader.cs (1)
60var startInfo = new ProcessStartInfo
Aspire.Hosting.Python (1)
PythonVersionDetector.cs (1)
68var startInfo = new ProcessStartInfo
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
307var prepareVirtualEnvironmentStartInfo = new ProcessStartInfo() 337var installRequirementsStartInfo = new ProcessStartInfo()
Aspire.Hosting.Tests (4)
Cli\CliOrphanDetectorTests.cs (2)
232? new ProcessStartInfo("ping", "-t localhost") { CreateNoWindow = true } 233: new ProcessStartInfo("tail", "-f /dev/null");
MSBuildTests.cs (2)
228process.StartInfo = new ProcessStartInfo("dotnet", "build --disable-build-servers") 554process.StartInfo = new ProcessStartInfo("dotnet", "build --disable-build-servers")
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
182AppHostProcess.StartInfo = new ProcessStartInfo(_buildEnv.DotNet, processArguments)
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
210var psi = new ProcessStartInfo
csc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
dotnet (10)
CommandFactory\CommandFactoryUsingResolver.cs (1)
103var psi = new ProcessStartInfo
Commands\Clean\FileBasedAppArtifacts\CleanFileBasedAppArtifactsCommand.cs (1)
125var startInfo = new ProcessStartInfo
Commands\Help\HelpCommand.cs (3)
50psInfo = new ProcessStartInfo 58psInfo = new ProcessStartInfo 70psInfo = new ProcessStartInfo
Commands\Test\MTP\TestApplication.cs (1)
155var processStartInfo = new ProcessStartInfo
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.10.0-1.26371.115\contentFiles\cs\net11.0\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
Telemetry\MacAddressGetter.cs (3)
69var ipResult = new ProcessStartInfo 90var result = new ProcessStartInfo 114var ifconfigResult = new ProcessStartInfo
dotnet-aot (4)
src\sdk\src\Cli\dotnet\CommandFactory\CommandFactoryUsingResolver.cs (1)
103var psi = new ProcessStartInfo
src\sdk\src\Cli\dotnet\Telemetry\MacAddressGetter.cs (3)
69var ipResult = new ProcessStartInfo 90var result = new ProcessStartInfo 114var ifconfigResult = new ProcessStartInfo
dotnet-dev-certs (12)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (6)
106var exitStatus = Process.Run(new ProcessStartInfo(MacOSTrustCertificateCommandLine, MacOSTrustCertificateCommandLineArguments + tmpFile)); 160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 284using var findCertificateProcess = Process.Start(new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
dotnet-format (1)
Utilities\ProcessRunner.cs (1)
175var processStartInfo = new ProcessStartInfo(executable, arguments);
dotnet-getdocument (1)
Exe.cs (1)
23var startInfo = new ProcessStartInfo
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
221var startInfo = new ProcessStartInfo
dotnet-suggest (1)
SuggestionStore.cs (1)
30var processStartInfo = new ProcessStartInfo(
dotnet-user-jwts (2)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (2)
60var psi = new ProcessStartInfo 144var psi = new ProcessStartInfo
dotnet-user-secrets (2)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (2)
60var psi = new ProcessStartInfo 144var psi = new ProcessStartInfo
Infrastructure.Tests (4)
ExtractTestPartitions\ExtractTestPartitionsFixture.cs (1)
22var psi = new ProcessStartInfo
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
288var psi = new ProcessStartInfo
PowerShellScripts\PowerShellCommand.cs (1)
201var psi = new ProcessStartInfo
WorkflowScripts\NodeCommand.cs (1)
181ProcessStartInfo psi = new()
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.Arcade.Common (1)
Command.cs (1)
37var psi = new ProcessStartInfo()
Microsoft.AspNetCore.Components.Testing (1)
Infrastructure\ServerInstance.cs (1)
213var startInfo = new ProcessStartInfo(executable, args)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
65var processStartInfo = new ProcessStartInfo
Microsoft.AspNetCore.DeveloperCertificates.XPlat (12)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (6)
106var exitStatus = Process.Run(new ProcessStartInfo(MacOSTrustCertificateCommandLine, MacOSTrustCertificateCommandLineArguments + tmpFile)); 160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 284using var findCertificateProcess = Process.Start(new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
Microsoft.AspNetCore.Server.IntegrationTesting (7)
ApplicationPublisher.cs (1)
51var startInfo = new ProcessStartInfo
Deployers\NginxDeployer.cs (2)
157var startInfo = new ProcessStartInfo 199var startInfo = new ProcessStartInfo
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
236var startInfo = new ProcessStartInfo
Deployers\SelfHostDeployer.cs (1)
121var startInfo = new ProcessStartInfo
src\aspnetcore\src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\aspnetcore\src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.Kestrel.Core (12)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (6)
106var exitStatus = Process.Run(new ProcessStartInfo(MacOSTrustCertificateCommandLine, MacOSTrustCertificateCommandLineArguments + tmpFile)); 160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 284using var findCertificateProcess = Process.Start(new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
Microsoft.AspNetCore.SpaProxy (3)
SpaProxyLaunchManager.cs (3)
186var info = new ProcessStartInfo(command, arguments) 238var stopScriptInfo = new ProcessStartInfo( 302var stopScriptInfo = new ProcessStartInfo("/bin/bash", scriptPath)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Npm\NodeScriptRunner.cs (1)
42var processStartInfo = new ProcessStartInfo(exeToRun)
Microsoft.Build (3)
BackEnd\BuildManager\CoordinatorClient.cs (2)
522return new ProcessStartInfo 534return new ProcessStartInfo
BackEnd\Components\Communications\NodeLauncher.cs (1)
122var processStartInfo = new ProcessStartInfo
Microsoft.Build.Framework (2)
MultiProcessTaskEnvironmentDriver.cs (1)
72return new ProcessStartInfo();
MultiThreadedTaskEnvironmentDriver.cs (1)
119var startInfo = new ProcessStartInfo
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
807var startInfo = new ProcessStartInfo(
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\BuildHostProcessManager.cs (3)
243var processStartInfo = new ProcessStartInfo() 271var processStartInfo = new ProcessStartInfo() 283var processStartInfo = new ProcessStartInfo
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
141var process = Process.Start(new ProcessStartInfo()
Microsoft.DotNet.Cli.Utils (2)
BuiltInCommand.cs (1)
72ProcessStartInfo startInfo = new(new Muxer().MuxerPath, $"{CommandName} {CommandArgs}");
ForwardingAppImplementation.cs (1)
74var processInfo = new ProcessStartInfo
Microsoft.DotNet.MacOsPkg.Core (1)
ExecuteHelper.cs (1)
37new ProcessStartInfo
Microsoft.DotNet.StrongName (2)
Signing.cs (1)
116var process = Process.Start(new ProcessStartInfo()
Verification.cs (1)
152var process = Process.Start(new ProcessStartInfo()
Microsoft.Extensions.AI.Evaluation.Console (1)
Commands\ReportCommand.cs (1)
152new ProcessStartInfo
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.Extensions.DataIngestion.MarkItDown (1)
MarkItDownReader.cs (1)
49ProcessStartInfo startInfo = new()
Microsoft.Extensions.DataIngestion.Tests (1)
Readers\MarkItDownConditionAttribute.cs (1)
26ProcessStartInfo startInfo = new()
Microsoft.McpServer.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.NET.Build.Containers (3)
LocalDaemons\DockerCli.cs (3)
99ProcessStartInfo loadInfo = new(commandPath, $"load") 296StartInfo = new ProcessStartInfo(dockerPath, "info --format=\"{{json .}}\"") 769ProcessStartInfo psi = new(commandPath, arguments)
Microsoft.NET.HostModel (1)
HostModelUtils.cs (1)
85var psi = new ProcessStartInfo()
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\GenerateEFSQLScripts.cs (1)
88ProcessStartInfo psi = new("dotnet", $@"ef migrations script --no-build --idempotent --configuration {Configuration} --output ""{sqlFileFullPath}"" --context {dbContextName} {EFMigrationsAdditionalArgs}")
Microsoft.NET.Sdk.Razor.Tasks (1)
src\sdk\src\RazorSdk\Tool\ServerProtocol\ServerConnection.cs (1)
387var startInfo = new ProcessStartInfo()
Microsoft.TemplateEngine.Cli (2)
PostActionProcessors\ChmodPostActionProcessor.cs (1)
42Process? commandResult = System.Diagnostics.Process.Start(new ProcessStartInfo
PostActionProcessors\ProcessStartPostActionProcessor.cs (1)
53Process? commandResult = System.Diagnostics.Process.Start(new ProcessStartInfo
Microsoft.TestPlatform.Build (1)
Tasks\VSTestTask.cs (1)
72var processInfo = new ProcessStartInfo
Microsoft.TestPlatform.CrossPlatEngine (1)
Client\MTP\MtpServerConnection.cs (1)
80var startInfo = new ProcessStartInfo
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
VsTestConsoleProcessManager.cs (1)
134var info = new ProcessStartInfo(consoleRunnerPath, arguments)
NuGet.Build.Tasks (1)
StaticGraphRestoreTaskBase.cs (1)
122process.StartInfo = new ProcessStartInfo
NuGet.CommandLine.XPlat (1)
Commands\Package\Update\PackageUpdateIO.cs (1)
104ProcessStartInfo processStartInfo = new ProcessStartInfo(dotnetPath)
NuGet.Common (1)
Migrations\Migration1.cs (1)
193ProcessStartInfo startInfo = new ProcessStartInfo(command)
NuGet.Credentials (1)
PluginCredentialProvider.cs (1)
188var startInfo = new ProcessStartInfo
NuGet.Protocol (2)
Plugins\PluginFactory.cs (2)
181startInfo = new ProcessStartInfo 199startInfo = new ProcessStartInfo(pluginFile.Path)
Pipelines.AppHost (4)
AppHost.cs (4)
74var getUserProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo 109var getSubscriptionProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo 144var getResourceGroupProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo 182var assignRoleProcess = System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo
Pipelines.Library (1)
DistributedApplicationPipelineExtensions.cs (1)
74var publishProcess = Process.Start(new ProcessStartInfo
RepoTasks (12)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (6)
106var exitStatus = Process.Run(new ProcessStartInfo(MacOSTrustCertificateCommandLine, MacOSTrustCertificateCommandLineArguments + tmpFile)); 160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 284using var findCertificateProcess = Process.Start(new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
rzc (1)
ServerProtocol\ServerConnection.cs (1)
387var startInfo = new ProcessStartInfo()
SuperFileCheck (1)
Program.cs (1)
103var startInfo = new ProcessStartInfo();
System.CodeDom (1)
System\CodeDom\Compiler\Executor.cs (1)
60var psi = new ProcessStartInfo(cmd)
System.Diagnostics.PerformanceCounter (1)
System\Diagnostics\PerformanceCounterLib.cs (1)
1196ProcessStartInfo processStartInfo = new ProcessStartInfo();
System.Diagnostics.Process (5)
System\Diagnostics\Process.cs (4)
542_startInfo = new ProcessStartInfo(); 1496return Start(new ProcessStartInfo(fileName))!; 1515return Start(new ProcessStartInfo(fileName, arguments))!; 1526return Start(new ProcessStartInfo(fileName, arguments))!;
System\Diagnostics\Process.Scenarios.cs (1)
365ProcessStartInfo startInfo = new(fileName);
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
43ProcessStartInfo psi = new ProcessStartInfo(pingExecutable, processArgs);
System.Windows.Forms (1)
System\Windows\Forms\Application.cs (1)
1312ProcessStartInfo currentStartInfo = new()
vbc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
292 references to ProcessStartInfo
aspire (32)
Agents\ClaudeCode\ClaudeCodeCliRunner.cs (1)
30var startInfo = new ProcessStartInfo(executablePath, "--version")
Agents\CopilotCli\CopilotCliRunner.cs (1)
30var startInfo = new ProcessStartInfo(executablePath, "--version")
Agents\OpenCode\OpenCodeCliRunner.cs (1)
30var startInfo = new ProcessStartInfo(executablePath, "--version")
Agents\Playwright\PlaywrightCliRunner.cs (2)
27var startInfo = new ProcessStartInfo(executablePath, "--version") 92var startInfo = new ProcessStartInfo(executablePath)
Agents\VsCode\VsCodeCliRunner.cs (1)
31var startInfo = new ProcessStartInfo(executablePath, "--version")
Certificates\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
Certificates\CertificateGeneration\UnixCertificateManager.cs (6)
688var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 709var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 762var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 936var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 980var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
Certificates\CertificateHelpers.cs (1)
92var processInfo = new ProcessStartInfo("openssl", "version -d")
Commands\UpdateCommand.cs (1)
492var psi = new ProcessStartInfo
DotNet\DotNetCliExecutionFactory.cs (2)
43var startInfo = new ProcessStartInfo("dotnet") 100private void ConfigurePrivateSdkEnvironment(ProcessStartInfo startInfo)
Git\GitRepository.cs (1)
23var startInfo = new ProcessStartInfo("git", "rev-parse --show-toplevel")
Npm\NpmRunner.cs (1)
233var startInfo = new ProcessStartInfo(npmPath)
OpenCode\OpenCodeCliRunner.cs (1)
23var startInfo = new ProcessStartInfo("opencode", "--version")
Processes\DetachedProcessLauncher.Unix.cs (1)
20var startInfo = new ProcessStartInfo
Projects\DotNetBasedAppHostServerProject.cs (2)
476var startInfo = new ProcessStartInfo(dotnetExe) 549var startInfo = new ProcessStartInfo("dotnet")
Projects\PrebuiltAppHostServer.cs (1)
413var startInfo = new ProcessStartInfo(serverPath)
Projects\ProcessGuestLauncher.cs (1)
46var startInfo = new ProcessStartInfo
Utils\CliDownloader.cs (1)
124var psi = new ProcessStartInfo
Utils\EnvironmentChecker\ContainerRuntimeCheck.cs (3)
91var versionProcessInfo = new ProcessStartInfo 240var psProcessInfo = new ProcessStartInfo 455var processInfo = new ProcessStartInfo
Utils\EnvironmentChecker\DeprecatedWorkloadCheck.cs (1)
26var processInfo = new ProcessStartInfo
Aspire.EndToEnd.Tests (6)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
163public async Task StartAppHostAsync(string[]? extraArgs = default, Action<ProcessStartInfo>? configureProcess = null, bool noBuild = true, bool waitForDashboardUrl = true, CancellationToken token = default)
tests\Shared\TemplatesTesting\CommandResult.cs (2)
15public ProcessStartInfo StartInfo { get; } 19public CommandResult(ProcessStartInfo startInfo, int exitCode, string output)
tests\Shared\TemplatesTesting\ToolCommand.cs (3)
210var psi = new ProcessStartInfo 245private void AddEnvironmentVariablesTo(ProcessStartInfo psi) 254private void AddWorkingDirectoryTo(ProcessStartInfo psi)
Aspire.Hosting.DevTunnels (2)
DevTunnelCli.cs (2)
345private ProcessStartInfo BuildStartInfo(IEnumerable<string> args, bool useShellExecute = false) 347var psi = new ProcessStartInfo
Aspire.Hosting.JavaScript.Tests (1)
AddJavaScriptAppTests.cs (1)
125var processStartInfo = new ProcessStartInfo
Aspire.Hosting.Maui (1)
Utilities\ProjectFileReader.cs (1)
60var startInfo = new ProcessStartInfo
Aspire.Hosting.Python (1)
PythonVersionDetector.cs (1)
68var startInfo = new ProcessStartInfo
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
307var prepareVirtualEnvironmentStartInfo = new ProcessStartInfo() 337var installRequirementsStartInfo = new ProcessStartInfo()
Aspire.Hosting.Tests (1)
Cli\CliOrphanDetectorTests.cs (1)
231var psi = OperatingSystem.IsWindows()
Aspire.Templates.Tests (6)
tests\Shared\TemplatesTesting\AspireProject.cs (1)
163public async Task StartAppHostAsync(string[]? extraArgs = default, Action<ProcessStartInfo>? configureProcess = null, bool noBuild = true, bool waitForDashboardUrl = true, CancellationToken token = default)
tests\Shared\TemplatesTesting\CommandResult.cs (2)
15public ProcessStartInfo StartInfo { get; } 19public CommandResult(ProcessStartInfo startInfo, int exitCode, string output)
tests\Shared\TemplatesTesting\ToolCommand.cs (3)
210var psi = new ProcessStartInfo 245private void AddEnvironmentVariablesTo(ProcessStartInfo psi) 254private void AddWorkingDirectoryTo(ProcessStartInfo psi)
csc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
dotnet (9)
CommandFactory\CommandFactoryUsingResolver.cs (1)
103var psi = new ProcessStartInfo
Commands\Clean\FileBasedAppArtifacts\CleanFileBasedAppArtifactsCommand.cs (1)
125var startInfo = new ProcessStartInfo
Commands\Help\HelpCommand.cs (1)
47ProcessStartInfo psInfo;
Commands\MSBuild\MSBuildForwardingApp.cs (1)
110public ProcessStartInfo GetProcessStartInfo() => _forwardingAppWithoutLogging.GetProcessStartInfo();
Commands\Test\MTP\TestApplication.cs (3)
60var processStartInfo = CreateProcessStartInfo(); 153private ProcessStartInfo CreateProcessStartInfo() 155var processStartInfo = new ProcessStartInfo
ForwardingApp.cs (1)
27public ProcessStartInfo GetProcessStartInfo()
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.10.0-1.26371.115\contentFiles\cs\net11.0\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
dotnet-aot (3)
src\sdk\src\Cli\dotnet\CommandFactory\CommandFactoryUsingResolver.cs (1)
103var psi = new ProcessStartInfo
src\sdk\src\Cli\dotnet\Commands\MSBuild\MSBuildForwardingApp.cs (1)
110public ProcessStartInfo GetProcessStartInfo() => _forwardingAppWithoutLogging.GetProcessStartInfo();
src\sdk\src\Cli\dotnet\ForwardingApp.cs (1)
27public ProcessStartInfo GetProcessStartInfo()
dotnet-dev-certs (10)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
dotnet-format (5)
Utilities\ProcessRunner.cs (5)
28public ProcessStartInfo StartInfo { get; } 33public ProcessInfo(Process process, ProcessStartInfo startInfo, Task<ProcessResult> result) 68ProcessStartInfo processStartInfo, 167public static ProcessStartInfo CreateProcessStartInfo( 175var processStartInfo = new ProcessStartInfo(executable, arguments);
dotnet-getdocument (1)
Exe.cs (1)
23var startInfo = new ProcessStartInfo
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
221var startInfo = new ProcessStartInfo
dotnet-suggest (1)
SuggestionStore.cs (1)
30var processStartInfo = new ProcessStartInfo(
dotnet-user-jwts (3)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (3)
60var psi = new ProcessStartInfo 144var psi = new ProcessStartInfo 230private static void DisableBuildServerReuse(ProcessStartInfo psi) =>
dotnet-user-secrets (3)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (3)
60var psi = new ProcessStartInfo 144var psi = new ProcessStartInfo 230private static void DisableBuildServerReuse(ProcessStartInfo psi) =>
Infrastructure.Tests (10)
ExtractTestPartitions\ExtractTestPartitionsFixture.cs (1)
22var psi = new ProcessStartInfo
ExtractTestPartitions\ExtractTestPartitionsTests.cs (1)
288var psi = new ProcessStartInfo
PowerShellScripts\PowerShellCommand.cs (5)
201var psi = new ProcessStartInfo 230private void AddEnvironmentVariablesTo(ProcessStartInfo psi) 239private void AddWorkingDirectoryTo(ProcessStartInfo psi) 257public ProcessStartInfo StartInfo { get; } 261public CommandResult(ProcessStartInfo startInfo, int exitCode, string output)
WorkflowScripts\NodeCommand.cs (3)
181ProcessStartInfo psi = new() 206private void AddEnvironmentVariablesTo(ProcessStartInfo psi) 215private void AddWorkingDirectoryTo(ProcessStartInfo psi)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.Arcade.Common (4)
Command.cs (2)
37var psi = new ProcessStartInfo() 210private string FormatProcessInfo(ProcessStartInfo info, bool includeWorkingDirectory)
CommandResult.cs (2)
14public ProcessStartInfo StartInfo { get; } 19public CommandResult(ProcessStartInfo startInfo, int exitCode, string stdOut, string stdErr)
Microsoft.AspNetCore.Components.Testing (3)
Infrastructure\ServerInstance.cs (3)
81var startInfo = BuildProcessStartInfo(appEntry); 196static ProcessStartInfo BuildProcessStartInfo(E2EAppEntry appEntry) 213var startInfo = new ProcessStartInfo(executable, args)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
65var processStartInfo = new ProcessStartInfo
Microsoft.AspNetCore.DeveloperCertificates.XPlat (10)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
Microsoft.AspNetCore.Server.IntegrationTesting (9)
ApplicationPublisher.cs (1)
51var startInfo = new ProcessStartInfo
Deployers\ApplicationDeployer.cs (1)
138protected void AddEnvironmentVariablesToProcess(ProcessStartInfo startInfo, IDictionary<string, string> environmentVariables)
Deployers\NginxDeployer.cs (2)
157var startInfo = new ProcessStartInfo 199var startInfo = new ProcessStartInfo
Deployers\RemoteWindowsDeployer\RemoteWindowsDeployer.cs (1)
236var startInfo = new ProcessStartInfo
Deployers\SelfHostDeployer.cs (1)
121var startInfo = new ProcessStartInfo
ProcessHelpers.cs (1)
11public static void AddEnvironmentVariablesToProcess(ProcessStartInfo startInfo, IDictionary<string, string> environmentVariables, ILogger logger)
src\aspnetcore\src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\aspnetcore\src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.Kestrel.Core (10)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
Microsoft.AspNetCore.SpaProxy (3)
SpaProxyLaunchManager.cs (3)
186var info = new ProcessStartInfo(command, arguments) 238var stopScriptInfo = new ProcessStartInfo( 302var stopScriptInfo = new ProcessStartInfo("/bin/bash", scriptPath)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Npm\NodeScriptRunner.cs (2)
42var processStartInfo = new ProcessStartInfo(exeToRun) 123private static Process LaunchNodeProcess(ProcessStartInfo startInfo, string commandName)
Microsoft.Build (3)
BackEnd\BuildManager\CoordinatorClient.cs (2)
491ProcessStartInfo? startInfo = TryGetStartInfo(); 511private static ProcessStartInfo? TryGetStartInfo()
BackEnd\Components\Communications\NodeLauncher.cs (1)
122var processStartInfo = new ProcessStartInfo
Microsoft.Build.Framework (5)
ITaskEnvironmentDriver.cs (1)
61ProcessStartInfo GetProcessStartInfo();
MultiProcessTaskEnvironmentDriver.cs (1)
70public ProcessStartInfo GetProcessStartInfo()
MultiThreadedTaskEnvironmentDriver.cs (2)
117public ProcessStartInfo GetProcessStartInfo() 119var startInfo = new ProcessStartInfo
TaskEnvironment.cs (1)
113public ProcessStartInfo GetProcessStartInfo() => _driver.GetProcessStartInfo();
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
807var startInfo = new ProcessStartInfo(
Microsoft.Build.Utilities.Core (2)
ToolTask.cs (2)
634protected virtual ProcessStartInfo GetProcessStartInfo( 662ProcessStartInfo startInfo = TaskEnvironment.GetProcessStartInfo();
Microsoft.CodeAnalysis.Workspaces.MSBuild (10)
MSBuild\BuildHostProcessManager.cs (10)
118var processStartInfo = CreateBuildHostStartInfo(buildHostKind, pipeName, dotnetPath); 186internal static ProcessStartInfo CreateBuildHostStartInfo(BuildHostProcessKind buildHostKind, string pipeName, string? dotnetPath) 241private static ProcessStartInfo CreateDotNetCoreBuildHostStartInfo(string pipeName, string? dotnetPath) 243var processStartInfo = new ProcessStartInfo() 268private static ProcessStartInfo CreateDotNetFrameworkBuildHostStartInfo(string pipeName) 271var processStartInfo = new ProcessStartInfo() 281private static ProcessStartInfo CreateMonoBuildHostStartInfo(string pipeName) 283var processStartInfo = new ProcessStartInfo 327private static void AppendBuildHostCommandLineArgumentsAndConfigureProcess(ProcessStartInfo processStartInfo, string pipeName) 343private static void AddArgument(ProcessStartInfo processStartInfo, string argument)
Microsoft.DotNet.Cli.Utils (11)
BuiltInCommand.cs (1)
72ProcessStartInfo startInfo = new(new Muxer().MuxerPath, $"{CommandName} {CommandArgs}");
Command.cs (3)
191public ProcessStartInfo StartInfo => _process.StartInfo; 195/// unlike <see cref="ProcessStartInfo.Environment"/> which includes all environment variables of the current process. 205private static string FormatProcessInfo(ProcessStartInfo info)
CommandResult.cs (2)
8public readonly struct CommandResult(ProcessStartInfo startInfo, int exitCode, string? stdOut, string? stdErr) 12public ProcessStartInfo StartInfo { get; } = startInfo;
Extensions\ProcessStartInfoExtensions.cs (2)
10public static int Execute(this ProcessStartInfo startInfo) 29public static int ExecuteAndCaptureOutput(this ProcessStartInfo startInfo, out string? stdOut, out string? stdErr)
ForwardingAppImplementation.cs (2)
72public ProcessStartInfo GetProcessStartInfo() 74var processInfo = new ProcessStartInfo
MSBuildForwardingAppWithoutLogging.cs (1)
125public ProcessStartInfo GetProcessStartInfo()
Microsoft.DotNet.MacOsPkg.Core (2)
ExecuteHelper.cs (2)
22ProcessStartInfo processStartInfo = CreateProcessStartInfo("sh", escapedArgs, workingDirectory); 36private static ProcessStartInfo CreateProcessStartInfo(string command, string arguments, string workingDirectory = "") =>
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.Extensions.DataIngestion.MarkItDown (1)
MarkItDownReader.cs (1)
49ProcessStartInfo startInfo = new()
Microsoft.Extensions.DataIngestion.Tests (1)
Readers\MarkItDownConditionAttribute.cs (1)
26ProcessStartInfo startInfo = new()
Microsoft.McpServer.ProjectTemplates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.NET.Build.Containers (2)
LocalDaemons\DockerCli.cs (2)
99ProcessStartInfo loadInfo = new(commandPath, $"load") 769ProcessStartInfo psi = new(commandPath, arguments)
Microsoft.NET.HostModel (1)
HostModelUtils.cs (1)
85var psi = new ProcessStartInfo()
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\GenerateEFSQLScripts.cs (1)
88ProcessStartInfo psi = new("dotnet", $@"ef migrations script --no-build --idempotent --configuration {Configuration} --output ""{sqlFileFullPath}"" --context {dbContextName} {EFMigrationsAdditionalArgs}")
Microsoft.NET.Sdk.Razor.Tasks (1)
src\sdk\src\RazorSdk\Tool\ServerProtocol\ServerConnection.cs (1)
387var startInfo = new ProcessStartInfo()
Microsoft.TestPlatform.Build (1)
Tasks\VSTestTask.cs (1)
72var processInfo = new ProcessStartInfo
Microsoft.TestPlatform.CrossPlatEngine (1)
Client\MTP\MtpServerConnection.cs (1)
80var startInfo = new ProcessStartInfo
Microsoft.TestPlatform.PlatformAbstractions (1)
netcore\System\ProcessStartInfoExtensions.cs (1)
18public static void AddEnvironmentVariable(this ProcessStartInfo startInfo, string name, string? value)
Microsoft.TestPlatform.VsTestConsole.TranslationLayer (1)
VsTestConsoleProcessManager.cs (1)
134var info = new ProcessStartInfo(consoleRunnerPath, arguments)
netstandard (1)
netstandard.cs (1)
669[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.ProcessStartInfo))]
NuGet.CommandLine.XPlat (1)
Commands\Package\Update\PackageUpdateIO.cs (1)
104ProcessStartInfo processStartInfo = new ProcessStartInfo(dotnetPath)
NuGet.Common (1)
Migrations\Migration1.cs (1)
193ProcessStartInfo startInfo = new ProcessStartInfo(command)
NuGet.Credentials (2)
PluginCredentialProvider.cs (2)
188var startInfo = new ProcessStartInfo 252public virtual int Execute(ProcessStartInfo startInfo, CancellationToken cancellationToken, out string stdOut)
NuGet.Protocol (3)
Plugins\PluginFactory.cs (1)
177ProcessStartInfo startInfo;
Plugins\PluginProcess.cs (2)
20private readonly ProcessStartInfo? _startInfo; 79public PluginProcess(ProcessStartInfo startInfo)
RepoTasks (10)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (4)
160var checkTrustProcessStartInfo = new ProcessStartInfo( 208var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 341var processInfo = new ProcessStartInfo(
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (6)
690var startInfo = new ProcessStartInfo(PowerShellCommand, $"-NoProfile -NonInteractive -EncodedCommand {encodedCommand}") 710var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} {operation}") 738var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -n {nickname} -A -i {certificatePath} -t \"{usage},,\"") 761var startInfo = new ProcessStartInfo(CertUtilCommand, $"-d sql:{nssDb.Path} -D -n {nickname}") 933var processInfo = new ProcessStartInfo(OpenSslCommand, $"version -d") 975var processInfo = new ProcessStartInfo(OpenSslCommand, $"x509 -hash -noout -in {certificatePath}")
rzc (1)
ServerProtocol\ServerConnection.cs (1)
387var startInfo = new ProcessStartInfo()
sdk-tasks (2)
DotNetTool.cs (2)
20protected override ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) 22var psi = base.GetProcessStartInfo(pathToTool, commandLineCommands, responseFileSwitch);
SuperFileCheck (1)
Program.cs (1)
103var startInfo = new ProcessStartInfo();
System (1)
src\runtime\src\libraries\shims\System\ref\System.cs (1)
524[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.ProcessStartInfo))]
System.CodeDom (1)
System\CodeDom\Compiler\Executor.cs (1)
60var psi = new ProcessStartInfo(cmd)
System.Diagnostics.PerformanceCounter (1)
System\Diagnostics\PerformanceCounterLib.cs (1)
1196ProcessStartInfo processStartInfo = new ProcessStartInfo();
System.Diagnostics.Process (73)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (6)
145/// Starts a process using the specified <see cref="ProcessStartInfo"/>. 150/// On Windows, when <see cref="ProcessStartInfo.UseShellExecute"/> is <see langword="true"/>, 157public static SafeProcessHandle Start(ProcessStartInfo startInfo) 167internal static SafeProcessHandle Start(ProcessStartInfo startInfo, bool fallbackToNull) 202ProcessStartInfo.ValidateInheritedHandles(childInputHandle, childOutputHandle, childErrorHandle, inheritedHandles); 209/// Resumes the process that was started with <see cref="ProcessStartInfo.StartSuspended" /> set to <see langword="true" />.
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (6)
202private delegate SafeProcessHandle StartWithShellExecuteDelegate(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, out ProcessWaitState.Holder? waitStateHolder); 205private static SafeProcessHandle StartCore(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, SafeHandle[]? inheritedHandlesSnapshot = null) 208internal static SafeProcessHandle StartCore(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, 246internal static unsafe SafeProcessHandle StartWithCallback(ProcessStartInfo startInfo, SafeFileHandle? stdinFd, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, 356private static SafeProcessHandle StartWithShellExecute(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, 429ProcessStartInfo startInfo, string? resolvedFilename, string[] argv,
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ForkAndExecProcess.cs (1)
19ProcessStartInfo startInfo, SafeHandle[]? inheritedHandles = null)
System\Diagnostics\Process.cs (11)
51private ProcessStartInfo? _startInfo; 528/// Gets or sets the properties to pass into the <see cref='System.Diagnostics.Process.Start(System.Diagnostics.ProcessStartInfo)'/> method for the <see cref='System.Diagnostics.Process'/>. 531public ProcessStartInfo StartInfo 1249ProcessStartInfo startInfo = StartInfo; 1276ProcessStartInfo.ValidateInheritedHandles(childInputHandle, childOutputHandle, childErrorHandle, inheritedHandles); 1306ProcessStartInfo startInfo, 1384private static void CloseChildHandles(ProcessStartInfo startInfo, SafeFileHandle? childInputHandle, SafeFileHandle? childOutputHandle, SafeFileHandle? childErrorHandle) 1406private void CreateStandardStreams(ProcessStartInfo startInfo, SafeFileHandle? parentInputPipeHandle, SafeFileHandle? parentOutputPipeHandle, SafeFileHandle? parentErrorPipeHandle) 1431internal bool StartCoreWithCallback(ProcessStartInfo startInfo, 1456ProcessStartInfo.ValidateInheritedHandles(childInputHandle, childOutputHandle, childErrorHandle, inheritedHandles); 1540public static Process? Start(ProcessStartInfo startInfo)
System\Diagnostics\Process.Scenarios.cs (33)
19/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 23/// <para>One or more of <see cref="ProcessStartInfo.RedirectStandardInput"/>, 24/// <see cref="ProcessStartInfo.RedirectStandardOutput"/>, or 25/// <see cref="ProcessStartInfo.RedirectStandardError"/> is set to <see langword="true"/>. 29/// <para><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>. 35/// When a standard handle (<see cref="ProcessStartInfo.StandardInputHandle"/>, 36/// <see cref="ProcessStartInfo.StandardOutputHandle"/>, or <see cref="ProcessStartInfo.StandardErrorHandle"/>) 48public static int StartAndForget(ProcessStartInfo startInfo) 89/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 98/// <see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>. 103public static ProcessExitStatus Run(ProcessStartInfo startInfo, TimeSpan? timeout = default) 142ProcessStartInfo startInfo = CreateStartInfo(fileName, arguments); 155/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 163/// <see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>. 168public static async Task<ProcessExitStatus> RunAsync(ProcessStartInfo startInfo, CancellationToken cancellationToken = default) 204ProcessStartInfo startInfo = CreateStartInfo(fileName, arguments); 218/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 227/// <para><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>.</para> 229/// <para><see cref="ProcessStartInfo.RedirectStandardOutput"/> or <see cref="ProcessStartInfo.RedirectStandardError"/> is not set to <see langword="true"/>.</para> 234public static ProcessTextOutput RunAndCaptureText(ProcessStartInfo startInfo, TimeSpan? timeout = default) 299/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 307/// <para><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>.</para> 309/// <para><see cref="ProcessStartInfo.RedirectStandardOutput"/> or <see cref="ProcessStartInfo.RedirectStandardError"/> is not set to <see langword="true"/>.</para> 314public static async Task<ProcessTextOutput> RunAndCaptureTextAsync(ProcessStartInfo startInfo, CancellationToken cancellationToken = default) 361private static ProcessStartInfo CreateStartInfo(string fileName, IList<string>? arguments) 365ProcessStartInfo startInfo = new(fileName); 377private static ProcessStartInfo CreateStartInfoForCapture(string fileName, IList<string>? arguments) 379ProcessStartInfo startInfo = CreateStartInfo(fileName, arguments); 386private static void ThrowIfUseShellExecute(ProcessStartInfo startInfo, string methodName) 394private static void ThrowIfNotRedirected(ProcessStartInfo startInfo, string methodName)
System\Diagnostics\Process.Unix.cs (2)
403private bool StartCore(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, SafeHandle[]? inheritedHandles) 409private bool StartCoreWithCallback(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, Func<UnixProcessStartArguments, int> callback)
System\Diagnostics\ProcessStartInfo.cs (2)
36/// Default constructor. At least the <see cref='System.Diagnostics.ProcessStartInfo.FileName'/> 154/// on the <see cref="SafeProcessHandle" /> returned by <see cref="SafeProcessHandle.Start(ProcessStartInfo)" />.
System\Diagnostics\ProcessUtils.Unix.cs (2)
52internal static (uint userId, uint groupId, uint[] groups) GetUserAndGroupIds(ProcessStartInfo startInfo) 234internal static string[] ParseArgv(ProcessStartInfo psi, string? resolvedExe = null, bool ignoreArguments = false)
System\Runtime\InteropServices\UnixProcessStartArguments.cs (5)
11/// This ref struct is populated by the <see cref="Start(ProcessStartInfo, Func{UnixProcessStartArguments, int})"/> method. 15internal unsafe UnixProcessStartArguments(byte* resolvedPath, byte** arguments, byte** environmentVariables, nint standardInput, nint standardOutput, nint standardError, ProcessStartInfo processStartInfo) 78public ProcessStartInfo ProcessStartInfo { get; } 96/// <exception cref="InvalidOperationException"><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>.</exception> 101public static Process Start(ProcessStartInfo startInfo, Func<UnixProcessStartArguments, int> callback)
System\Runtime\InteropServices\WindowsProcessStartArguments.cs (5)
11/// This ref struct is populated by the <see cref="Start(ProcessStartInfo, Func{WindowsProcessStartArguments, nint})"/> method. 15internal unsafe WindowsProcessStartArguments(char* arguments, char* environmentVariables, nint standardInput, nint standardOutput, nint standardError, ProcessStartInfo processStartInfo) 66public ProcessStartInfo ProcessStartInfo { get; } 84/// <exception cref="InvalidOperationException"><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>.</exception> 86public static Process Start(ProcessStartInfo startInfo, Func<WindowsProcessStartArguments, nint> callback)
System.Net.Ping (1)
System\Net\NetworkInformation\Ping.PingUtility.cs (1)
43ProcessStartInfo psi = new ProcessStartInfo(pingExecutable, processArgs);
System.Windows.Forms (1)
System\Windows\Forms\Application.cs (1)
1312ProcessStartInfo currentStartInfo = new()
vbc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
630var startInfo = new ProcessStartInfo()