333 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
BuildValidator (1)
CompilationDiff.cs (1)
353Process.Start(new ProcessStartInfo
csc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
dotnet-dev-certs (11)
src\Shared\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(
src\Shared\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}")
dotnet-getdocument (1)
Exe.cs (1)
23var startInfo = new ProcessStartInfo
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
221var startInfo = new ProcessStartInfo
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var psi = new ProcessStartInfo
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var psi = new ProcessStartInfo
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = 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()
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
69var processOptions = new ProcessStartInfo
InteropTests (4)
Helpers\ClientProcess.cs (1)
25_process.StartInfo = new ProcessStartInfo
Helpers\WebsiteProcess.cs (1)
30_process.StartInfo = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
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.Components.WebViewE2E.Test (1)
WebViewManagerE2ETests.cs (1)
30StartInfo = new ProcessStartInfo
Microsoft.AspNetCore.DeveloperCertificates.XPlat (11)
src\Shared\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(
src\Shared\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}")
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
ShutdownTests.cs (1)
122var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
GenerateAdditionalXmlFilesForOpenApiTests.cs (1)
18var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
ServerTests.cs (2)
66var psi = new ProcessStartInfo("netsh", "http show servicestate view=requestq") 103var psi = new ProcessStartInfo("netsh", "http show servicestate view=requestq")
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\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
178var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.Kestrel.Core (11)
src\Shared\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(
src\Shared\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}")
Microsoft.AspNetCore.Shared.Tests (11)
src\Shared\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(
src\Shared\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}")
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Docker.cs (1)
200StartInfo = new ProcessStartInfo
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.AspNetCore.WebSockets.ConformanceTests (1)
Autobahn\Executable.cs (1)
37StartInfo = new ProcessStartInfo()
Microsoft.Build (1)
BackEnd\Components\Communications\NodeLauncher.cs (1)
128var processStartInfo = new ProcessStartInfo
Microsoft.Build.Framework (2)
MultiProcessTaskEnvironmentDriver.cs (1)
71return new ProcessStartInfo();
MultiThreadedTaskEnvironmentDriver.cs (1)
113var startInfo = new ProcessStartInfo
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
785var startInfo = new ProcessStartInfo(
Microsoft.Build.Tasks.UnitTests (1)
Unzip_Tests.cs (1)
166var psi = new ProcessStartInfo
Microsoft.Build.UnitTests.Shared (1)
RunnerUtilities.cs (1)
133var psi = new ProcessStartInfo(process)
Microsoft.Build.Utilities.UnitTests (4)
ProcessExtensions_Tests.cs (4)
26? new ProcessStartInfo("ping", "-n 31 127.0.0.1") 27: new ProcessStartInfo("sleep", "30"); 37new ProcessStartInfo("rundll32", "kernel32.dll, Sleep") : 38new ProcessStartInfo("sleep", "600");
Microsoft.CodeAnalysis.InteractiveHost (1)
Interactive\Core\InteractiveHost.LazyRemoteService.cs (1)
140StartInfo = new ProcessStartInfo(hostPath)
Microsoft.CodeAnalysis.LanguageServer (1)
DotnetCliHelper.cs (1)
75var startInfo = new ProcessStartInfo(_dotnetExecutablePath.Value)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (1)
94var processStartInfo = new ProcessStartInfo()
Microsoft.CodeAnalysis.Test.Utilities (3)
FX\ProcessUtilities.cs (3)
31var startInfo = new ProcessStartInfo 104var startInfo = new ProcessStartInfo 122ProcessStartInfo startInfo = new ProcessStartInfo(exeFileName);
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
MSBuild\BuildHostProcessManager.cs (3)
240var processStartInfo = new ProcessStartInfo() 268var processStartInfo = new ProcessStartInfo() 280var processStartInfo = new ProcessStartInfo
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
157var process = Process.Start(new ProcessStartInfo()
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Utilities\TestApp.cs (1)
54var psi = new ProcessStartInfo
Microsoft.DotNet.ArcadeAzureIntegration (1)
AzureCliCredentialWithAzNoUpdateWrapper.cs (1)
72var processInfo = new ProcessStartInfo
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\GeneralUtils.cs (1)
268ProcessStartInfo info = new ProcessStartInfo(path, arguments)
Microsoft.DotNet.Helix.Sdk.Tests (4)
InstallDotNetToolTests.cs (4)
114.Returns(new CommandResult(new ProcessStartInfo(), 0, "Tool installed", null)); 139.Returns(new CommandResult(new ProcessStartInfo(), 1, null, "Installation failed")); 163.Returns(new CommandResult(new ProcessStartInfo(), 0, "Tool installed", null)); 232.Returns(new CommandResult(new ProcessStartInfo(), 0, "Tool installed", null));
Microsoft.DotNet.Internal.SymbolHelper (1)
SymbolUploadHelper.cs (1)
431ProcessStartInfo info = new(_symbolToolPath, arguments)
Microsoft.DotNet.MacOsPkg.Core (1)
ExecuteHelper.cs (1)
37new ProcessStartInfo
Microsoft.DotNet.MacOsPkg.Tests (1)
UnpackPackTests.cs (1)
216var process = Process.Start(new ProcessStartInfo()
Microsoft.DotNet.Open.Api.Tools.Tests (2)
ProcessEx.cs (1)
59var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.DotNet.RemoteExecutor (2)
RemoteInvokeHandle.cs (1)
129Process p = Process.Start(new ProcessStartInfo()
RemoteInvokeOptions.cs (1)
21public ProcessStartInfo StartInfo { get; set; } = new ProcessStartInfo();
Microsoft.DotNet.SetupNugetSources.Tests (1)
ScriptRunner.cs (1)
65StartInfo = new ProcessStartInfo
Microsoft.DotNet.SignCheckLibrary (1)
Utils.cs (1)
169var psi = new ProcessStartInfo
Microsoft.DotNet.SignTool (7)
src\BatchSignUtil.cs (1)
431var processStartInfo = new ProcessStartInfo()
src\RealSignTool.cs (1)
60process.StartInfo = new ProcessStartInfo()
src\SignTool.cs (2)
78var process = Process.Start(new ProcessStartInfo() 111var process = Process.Start(new ProcessStartInfo()
src\VerifySignatures.cs (1)
194var psi = new ProcessStartInfo
src\ZipData.cs (2)
293var process = Process.Start(new ProcessStartInfo() 871ProcessStartInfo psi = new()
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.ApiDescription.Client.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
166var processInfo = new ProcessStartInfo
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.VisualBasic.IntegrationTests (5)
InteractionTests.cs (1)
116ProcessStartInfo startInfo = new() { FileName = s_exePath, Arguments = arguments };
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBaseTests.cs (3)
15ProcessStartInfo startInfo = new() { FileName = exePath, Arguments = "WindowsFormsApplicationBase.Run" }; 25Process process0 = TestHelpers.StartProcess(new ProcessStartInfo { FileName = exePath, Arguments = "WindowsFormsApplicationBase.RunSingleInstance0" }); 26Process process1 = TestHelpers.StartProcess(new ProcessStartInfo { FileName = exePath, Arguments = "WindowsFormsApplicationBase.RunSingleInstance1" });
Microsoft\VisualBasic\MyServices\Internal\ProgressDialogTests.cs (1)
14ProcessStartInfo startInfo = new() { FileName = exePath, Arguments = "ProgressDialog.ShowProgressDialog" };
Microsoft.VisualStudio.Extensibility.Testing.Xunit (1)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\VisualStudioInstanceFactory.cs (1)
421var startInfo = new ProcessStartInfo(fileName, arguments) { CreateNoWindow = silent, UseShellExecute = false };
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
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
RepoTasks (11)
src\Shared\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(
src\Shared\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}")
Roslyn.Test.Performance.Utilities (1)
TestUtilities.cs (1)
127var startInfo = new ProcessStartInfo(file, args);
RunTests (2)
ProcessRunner.cs (1)
188var processStartInfo = new ProcessStartInfo(executable, arguments);
TestRunner.cs (1)
225var startInfo = new ProcessStartInfo() { FileName = htmlResultsFilePath, UseShellExecute = true };
System.CodeDom (1)
System\CodeDom\Compiler\Executor.cs (1)
60var psi = new ProcessStartInfo(cmd)
System.Diagnostics.Process (5)
System\Diagnostics\Process.cs (4)
482_startInfo = new ProcessStartInfo(); 1333return Start(new ProcessStartInfo(fileName))!; 1352return Start(new ProcessStartInfo(fileName, arguments))!; 1363return Start(new ProcessStartInfo(fileName, arguments))!;
System\Diagnostics\Process.Scenarios.cs (1)
336ProcessStartInfo 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()
System.Windows.Forms.IntegrationTests.Common (1)
TestHelpers.cs (1)
85ProcessStartInfo startInfo = new()
Templates.Blazor.Tests (13)
src\Shared\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(
src\Shared\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}")
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Blazor.WebAssembly.Auth.Tests (15)
src\Shared\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(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Blazor.WebAssembly.Tests (15)
src\Shared\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(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Mvc.Tests (15)
src\Shared\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(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Tests (15)
src\Shared\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(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
WinFormsControlsTest (2)
DragDrop.cs (1)
391ProcessStartInfo startInfo = new()
TaskDialogSamples.cs (1)
437ProcessStartInfo psi = new("cmd.exe", "/k echo Hi, this is an elevated command prompt.")
368 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\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
dotnet-dev-certs (9)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
dotnet-getdocument (1)
Exe.cs (1)
23var startInfo = new ProcessStartInfo
dotnet-openapi (1)
Commands\BaseCommand.cs (1)
221var startInfo = new ProcessStartInfo
dotnet-user-jwts (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var psi = new ProcessStartInfo
dotnet-user-secrets (1)
src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var psi = new ProcessStartInfo
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\AppVerifier.cs (1)
43var startInfo = new ProcessStartInfo
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)
Interop.FunctionalTests (1)
H2SpecCommands.cs (1)
69var processOptions = new ProcessStartInfo
InteropTests (3)
Helpers\ProcessDebugHelper.cs (1)
10public static string GetDebugCommand(ProcessStartInfo psi)
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
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 (9)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
ShutdownTests.cs (1)
122var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
GenerateAdditionalXmlFilesForOpenApiTests.cs (1)
18var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
ServerTests.cs (2)
66var psi = new ProcessStartInfo("netsh", "http show servicestate view=requestq") 103var psi = new ProcessStartInfo("netsh", "http show servicestate view=requestq")
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\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
IISExpressDeployer.cs (1)
178var startInfo = new ProcessStartInfo
Microsoft.AspNetCore.Server.Kestrel.Core (9)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
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 (1)
BackEnd\Components\Communications\NodeLauncher.cs (1)
128var processStartInfo = new ProcessStartInfo
Microsoft.Build.Engine.UnitTests (1)
BackEnd\TaskEnvironment_Tests.cs (1)
277var processStartInfo = taskEnvironment.GetProcessStartInfo();
Microsoft.Build.Framework (5)
ITaskEnvironmentDriver.cs (1)
61ProcessStartInfo GetProcessStartInfo();
MultiProcessTaskEnvironmentDriver.cs (1)
69public ProcessStartInfo GetProcessStartInfo()
MultiThreadedTaskEnvironmentDriver.cs (2)
111public ProcessStartInfo GetProcessStartInfo() 113var startInfo = new ProcessStartInfo
TaskEnvironment.cs (1)
106public ProcessStartInfo GetProcessStartInfo() => _driver.GetProcessStartInfo();
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
785var startInfo = new ProcessStartInfo(
Microsoft.Build.Tasks.UnitTests (1)
Unzip_Tests.cs (1)
166var psi = new ProcessStartInfo
Microsoft.Build.UnitTests.Shared (1)
RunnerUtilities.cs (1)
133var psi = new ProcessStartInfo(process)
Microsoft.Build.Utilities.Core (2)
ToolTask.cs (2)
634protected virtual ProcessStartInfo GetProcessStartInfo( 662ProcessStartInfo startInfo = TaskEnvironment.GetProcessStartInfo();
Microsoft.Build.Utilities.UnitTests (18)
ProcessExtensions_Tests.cs (2)
25var psi = NativeMethodsShared.IsWindows 35var psi =
ToolTask_Tests.cs (16)
71internal ProcessStartInfo StartInfo { get; private set; } 78internal Action<ProcessStartInfo> DoProcessStartInfoMutation { get; set; } 88protected override ProcessStartInfo GetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) 90var basePSI = base.GetProcessStartInfo(pathToTool, commandLineCommands, responseFileSwitch); 621ProcessStartInfo startInfo = task.StartInfo; 1272public ProcessStartInfo CallGetProcessStart(TaskEnvironment taskEnvironment) 1289public ProcessStartInfo CallGetProcessStartInfo(string pathToTool, string commandLineCommands, string responseFileSwitch) 1306ProcessStartInfo result = tool.CallGetProcessStart(taskEnv); 1330ProcessStartInfo result = tool.CallGetProcessStart(taskEnv); 1350ProcessStartInfo result = tool.CallGetProcessStart(taskEnv); 1372ProcessStartInfo result = tool.CallGetProcessStart(taskEnv); 1400ProcessStartInfo result = tool.CallGetProcessStart(taskEnv); 1420ProcessStartInfo result = tool.CallGetProcessStart(taskEnv); 1445ProcessStartInfo result = tool.CallGetProcessStart(taskEnv); 1524ProcessStartInfo result = tool.CallGetProcessStartInfo(toolPath, "/nologo", null); 1547ProcessStartInfo result = tool.CallGetProcessStartInfo(toolPath, "/nologo", null);
Microsoft.CodeAnalysis.LanguageServer (1)
DotnetCliHelper.cs (1)
75var startInfo = new ProcessStartInfo(_dotnetExecutablePath.Value)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (3)
Utilities\AbstractLanguageServerClientTests.TestLspClient.cs (3)
49var processStartInfo = CreateLspStartInfo(fullPipePath, extensionLogsPath, includeDevKitComponents, debugLsp); 92static ProcessStartInfo CreateLspStartInfo(string pipeName, string extensionLogsPath, bool includeDevKitComponents, bool debugLsp) 94var processStartInfo = new ProcessStartInfo()
Microsoft.CodeAnalysis.Test.Utilities (3)
FX\ProcessUtilities.cs (3)
31var startInfo = new ProcessStartInfo 104var startInfo = new ProcessStartInfo 122ProcessStartInfo startInfo = new ProcessStartInfo(exeFileName);
Microsoft.CodeAnalysis.Workspaces.MSBuild (10)
MSBuild\BuildHostProcessManager.cs (10)
115var processStartInfo = CreateBuildHostStartInfo(buildHostKind, pipeName, dotnetPath); 183internal static ProcessStartInfo CreateBuildHostStartInfo(BuildHostProcessKind buildHostKind, string pipeName, string? dotnetPath) 238private static ProcessStartInfo CreateDotNetCoreBuildHostStartInfo(string pipeName, string? dotnetPath) 240var processStartInfo = new ProcessStartInfo() 265private static ProcessStartInfo CreateDotNetFrameworkBuildHostStartInfo(string pipeName) 268var processStartInfo = new ProcessStartInfo() 278private static ProcessStartInfo CreateMonoBuildHostStartInfo(string pipeName) 280var processStartInfo = new ProcessStartInfo 324private static void AppendBuildHostCommandLineArgumentsAndConfigureProcess(ProcessStartInfo processStartInfo, string pipeName) 340private static void AddArgument(ProcessStartInfo processStartInfo, string argument)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (6)
BuildHostProcessManagerTests.cs (6)
16var processStartInfo = BuildHostProcessManager.CreateBuildHostStartInfo(BuildHostProcessKind.NetCore, pipeName: "", dotnetPath: null); 32var processStartInfo = BuildHostProcessManager.CreateBuildHostStartInfo(BuildHostProcessKind.NetCore, pipeName: "", dotnetPath: null); 40var processStartInfo = BuildHostProcessManager.CreateBuildHostStartInfo(BuildHostProcessKind.Mono, pipeName: "", dotnetPath: null); 48var processStartInfo = BuildHostProcessManager.CreateBuildHostStartInfo(BuildHostProcessKind.NetFramework, pipeName: "", dotnetPath: null); 61var processStartInfo = BuildHostProcessManager.CreateBuildHostStartInfo(buildHostKind, PipeName, dotnetPath: null); 82var processStartInfo = BuildHostProcessManager.CreateBuildHostStartInfo(buildHostKind, PipeName, dotnetPath: null);
Microsoft.DotNet.Arcade.Sdk.Tests (2)
Utilities\TestApp.cs (2)
54var psi = new ProcessStartInfo 75public int Run(ITestOutputHelper output, ProcessStartInfo psi)
Microsoft.DotNet.ArcadeAzureIntegration (1)
AzureCliCredentialWithAzNoUpdateWrapper.cs (1)
72var processInfo = new ProcessStartInfo
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\GeneralUtils.cs (1)
268ProcessStartInfo info = new ProcessStartInfo(path, arguments)
Microsoft.DotNet.Internal.SymbolHelper (1)
SymbolUploadHelper.cs (1)
431ProcessStartInfo info = new(_symbolToolPath, arguments)
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.DotNet.Open.Api.Tools.Tests (2)
ProcessEx.cs (1)
59var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.DotNet.RemoteExecutor (2)
RemoteExecutor.cs (1)
441ProcessStartInfo psi = options.StartInfo;
RemoteInvokeOptions.cs (1)
21public ProcessStartInfo StartInfo { get; set; } = new ProcessStartInfo();
Microsoft.DotNet.SignCheckLibrary (1)
Utils.cs (1)
169var psi = new ProcessStartInfo
Microsoft.DotNet.SignTool (3)
src\BatchSignUtil.cs (1)
431var processStartInfo = new ProcessStartInfo()
src\VerifySignatures.cs (1)
194var psi = new ProcessStartInfo
src\ZipData.cs (1)
871ProcessStartInfo psi = new()
Microsoft.Extensions.AI.Templates.Tests (1)
test\ProjectTemplates\Infrastructure\TestCommand.cs (1)
33var processStartInfo = new ProcessStartInfo(FileName, Arguments)
Microsoft.Extensions.ApiDescription.Client.Tests (2)
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Infrastructure\RedisTestConfig.cs (1)
166var processInfo = new ProcessStartInfo
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.VisualBasic.IntegrationTests (3)
InteractionTests.cs (1)
116ProcessStartInfo startInfo = new() { FileName = s_exePath, Arguments = arguments };
Microsoft\VisualBasic\ApplicationServices\WindowsFormsApplicationBaseTests.cs (1)
15ProcessStartInfo startInfo = new() { FileName = exePath, Arguments = "WindowsFormsApplicationBase.Run" };
Microsoft\VisualBasic\MyServices\Internal\ProgressDialogTests.cs (1)
14ProcessStartInfo startInfo = new() { FileName = exePath, Arguments = "ProgressDialog.ShowProgressDialog" };
Microsoft.VisualStudio.Extensibility.Testing.Xunit (3)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\VisualStudioInstanceFactory.cs (3)
337var installProcessStartInfo = CreateStartInfo(vsixInstallerExeFile, silent: true, arguments); 419ProcessStartInfo CreateStartInfo(string fileName, bool silent, string arguments) 421var startInfo = new ProcessStartInfo(fileName, arguments) { CreateNoWindow = silent, UseShellExecute = false };
netstandard (1)
netstandard.cs (1)
669[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.ProcessStartInfo))]
Replay (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
RepoTasks (9)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
Roslyn.Test.Performance.Utilities (1)
TestUtilities.cs (1)
127var startInfo = new ProcessStartInfo(file, args);
RunTests (7)
ProcessRunner.cs (5)
34public ProcessStartInfo StartInfo { get; } 39public ProcessInfo(Process process, ProcessStartInfo startInfo, Task<ProcessResult> result) 76ProcessStartInfo processStartInfo, 180public static ProcessStartInfo CreateProcessStartInfo( 188var processStartInfo = new ProcessStartInfo(executable, arguments);
Program.cs (1)
168var startInfo = process.StartInfo;
TestRunner.cs (1)
225var startInfo = new ProcessStartInfo() { FileName = htmlResultsFilePath, UseShellExecute = true };
System (1)
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.Process (51)
Microsoft\Win32\SafeHandles\SafeProcessHandle.cs (5)
60/// Starts a process using the specified <see cref="ProcessStartInfo"/>. 65/// On Windows, when <see cref="ProcessStartInfo.UseShellExecute"/> is <see langword="true"/>, 72public static SafeProcessHandle Start(ProcessStartInfo startInfo) 82internal static SafeProcessHandle Start(ProcessStartInfo startInfo, bool fallbackToNull) 117ProcessStartInfo.ValidateInheritedHandles(childInputHandle, childOutputHandle, childErrorHandle, inheritedHandles);
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (5)
171private delegate SafeProcessHandle StartWithShellExecuteDelegate(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, out ProcessWaitState.Holder? waitStateHolder); 174private static SafeProcessHandle StartCore(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, SafeHandle[]? inheritedHandlesSnapshot = null) 177internal static SafeProcessHandle StartCore(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, 221private static SafeProcessHandle StartWithShellExecute(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, 294ProcessStartInfo startInfo, string? resolvedFilename, string[] argv,
System\Diagnostics\Process.cs (6)
51private ProcessStartInfo? _startInfo; 468/// 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'/>. 471public ProcessStartInfo StartInfo 1164ProcessStartInfo startInfo = StartInfo; 1258ProcessStartInfo.ValidateInheritedHandles(childInputHandle, childOutputHandle, childErrorHandle, inheritedHandles); 1377public static Process? Start(ProcessStartInfo startInfo)
System\Diagnostics\Process.Scenarios.cs (31)
18/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 22/// <para>One or more of <see cref="ProcessStartInfo.RedirectStandardInput"/>, 23/// <see cref="ProcessStartInfo.RedirectStandardOutput"/>, or 24/// <see cref="ProcessStartInfo.RedirectStandardError"/> is set to <see langword="true"/>. 28/// <para><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>. 34/// When a standard handle (<see cref="ProcessStartInfo.StandardInputHandle"/>, 35/// <see cref="ProcessStartInfo.StandardOutputHandle"/>, or <see cref="ProcessStartInfo.StandardErrorHandle"/>) 47public static int StartAndForget(ProcessStartInfo startInfo) 88/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 97/// <see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>. 102public static ProcessExitStatus Run(ProcessStartInfo startInfo, TimeSpan? timeout = default) 140/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 148/// <see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>. 153public static async Task<ProcessExitStatus> RunAsync(ProcessStartInfo startInfo, CancellationToken cancellationToken = default) 189/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 198/// <para><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>.</para> 200/// <para><see cref="ProcessStartInfo.RedirectStandardOutput"/> or <see cref="ProcessStartInfo.RedirectStandardError"/> is not set to <see langword="true"/>.</para> 205public static ProcessTextOutput RunAndCaptureText(ProcessStartInfo startInfo, TimeSpan? timeout = default) 270/// <param name="startInfo">The <see cref="ProcessStartInfo"/> that contains the information used to start the process.</param> 278/// <para><see cref="ProcessStartInfo.UseShellExecute"/> is set to <see langword="true"/>.</para> 280/// <para><see cref="ProcessStartInfo.RedirectStandardOutput"/> or <see cref="ProcessStartInfo.RedirectStandardError"/> is not set to <see langword="true"/>.</para> 285public static async Task<ProcessTextOutput> RunAndCaptureTextAsync(ProcessStartInfo startInfo, CancellationToken cancellationToken = default) 332private static ProcessStartInfo CreateStartInfo(string fileName, IList<string>? arguments) 336ProcessStartInfo startInfo = new(fileName); 348private static ProcessStartInfo CreateStartInfoForCapture(string fileName, IList<string>? arguments) 350ProcessStartInfo startInfo = CreateStartInfo(fileName, arguments); 357private static void ThrowIfUseShellExecute(ProcessStartInfo startInfo, string methodName) 365private static void ThrowIfNotRedirected(ProcessStartInfo startInfo, string methodName)
System\Diagnostics\Process.Unix.cs (1)
361private bool StartCore(ProcessStartInfo startInfo, SafeFileHandle? stdinHandle, SafeFileHandle? stdoutHandle, SafeFileHandle? stderrHandle, SafeHandle[]? inheritedHandles)
System\Diagnostics\ProcessStartInfo.cs (1)
36/// Default constructor. At least the <see cref='System.Diagnostics.ProcessStartInfo.FileName'/>
System\Diagnostics\ProcessUtils.Unix.cs (2)
110internal static (uint userId, uint groupId, uint[] groups) GetUserAndGroupIds(ProcessStartInfo startInfo) 292internal static string[] ParseArgv(ProcessStartInfo psi, string? resolvedExe = null, bool ignoreArguments = false)
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()
System.Windows.Forms.IntegrationTests.Common (2)
TestHelpers.cs (2)
85ProcessStartInfo startInfo = new() 105public static Process StartProcess(ProcessStartInfo startInfo)
Templates.Blazor.Tests (11)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Blazor.WebAssembly.Auth.Tests (13)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Blazor.WebAssembly.Tests (13)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Mvc.Tests (13)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
Templates.Tests (13)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\Shared\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}")
src\Shared\E2ETesting\SauceConnectServer.cs (2)
80var psi = new ProcessStartInfo 194var psi = new ProcessStartInfo
src\Shared\Process\ProcessEx.cs (1)
105var startInfo = new ProcessStartInfo(command, args)
src\Shared\Process\ProcessExtensions.cs (1)
97var startInfo = new ProcessStartInfo
ThreadSafeTaskAnalyzer.Tests (1)
TestHelpers.cs (1)
180typeof(System.Diagnostics.ProcessStartInfo).Assembly,
vbc (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
VBCSCompiler (1)
src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
WinFormsControlsTest (2)
DragDrop.cs (1)
391ProcessStartInfo startInfo = new()
TaskDialogSamples.cs (1)
437ProcessStartInfo psi = new("cmd.exe", "/k echo Hi, this is an elevated command prompt.")
WinShimmer (1)
Program.cs (1)
48MetadataReference.CreateFromFile(typeof(ProcessStartInfo).Assembly.Location)