197 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)
621var 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)
124var processStartInfo = new ProcessStartInfo
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.8.0-1.26268.104\contentFiles\cs\net11.0\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
Telemetry\MacAddressGetter.cs (3)
69var ipResult = new ProcessStartInfo 90var result = new ProcessStartInfo 114var ifconfigResult = new ProcessStartInfo
dotnet-dev-certs (11)
src\aspnetcore\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\aspnetcore\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-format (1)
Utilities\ProcessRunner.cs (1)
175var processStartInfo = new ProcessStartInfo(executable, arguments);
dotnet-suggest (1)
SuggestionStore.cs (1)
30var processStartInfo = new ProcessStartInfo(
dotnet-user-jwts (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var psi = new ProcessStartInfo
dotnet-user-secrets (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var 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.DeveloperCertificates.XPlat (11)
src\aspnetcore\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\aspnetcore\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.Server.Kestrel.Core (11)
src\aspnetcore\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\aspnetcore\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.Build (1)
BackEnd\Components\Communications\NodeLauncher.cs (1)
122var processStartInfo = new ProcessStartInfo
Microsoft.Build.Framework (2)
MultiProcessTaskEnvironmentDriver.cs (1)
72return new ProcessStartInfo();
MultiThreadedTaskEnvironmentDriver.cs (1)
114var startInfo = new ProcessStartInfo
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
780var startInfo = new ProcessStartInfo(
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.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)
105ProcessStartInfo loadInfo = new(commandPath, $"load") 205StartInfo = new ProcessStartInfo(dockerPath, "info --format=\"{{json .}}\"") 662ProcessStartInfo psi = new(command, "version")
Microsoft.NET.HostModel (1)
HostModelUtils.cs (1)
26var 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.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)
173startInfo = new ProcessStartInfo 191startInfo = 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 (11)
src\aspnetcore\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\aspnetcore\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}")
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)
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()
vbc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
237 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)
621var 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 (1)
47ProcessStartInfo psInfo;
Commands\MSBuild\MSBuildForwardingApp.cs (2)
66public ProcessStartInfo GetProcessStartInfo() 94ProcessStartInfo startInfo = GetProcessStartInfo();
Commands\Test\MTP\TestApplication.cs (3)
45var processStartInfo = CreateProcessStartInfo(); 122private ProcessStartInfo CreateProcessStartInfo() 124var processStartInfo = new ProcessStartInfo
ForwardingApp.cs (1)
27public ProcessStartInfo GetProcessStartInfo()
src\sdk\artifacts\.packages\microsoft.codeanalysis.buildclient\5.8.0-1.26268.104\contentFiles\cs\net11.0\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
dotnet-dev-certs (9)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\aspnetcore\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-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-suggest (1)
SuggestionStore.cs (1)
30var processStartInfo = new ProcessStartInfo(
dotnet-user-jwts (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var psi = new ProcessStartInfo
dotnet-user-secrets (1)
src\aspnetcore\src\Tools\Shared\SecretsHelpers\ProjectIdResolver.cs (1)
54var psi = 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)
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.DeveloperCertificates.XPlat (9)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\aspnetcore\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.Server.Kestrel.Core (9)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\aspnetcore\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.Build (1)
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)
112public ProcessStartInfo GetProcessStartInfo() 114var startInfo = new ProcessStartInfo
TaskEnvironment.cs (1)
106public ProcessStartInfo GetProcessStartInfo() => _driver.GetProcessStartInfo();
Microsoft.Build.Tasks.CodeAnalysis (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
Microsoft.Build.Tasks.Core (1)
ManifestUtil\SecurityUtil.cs (1)
780var 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)
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.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)
81public 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)
105ProcessStartInfo loadInfo = new(commandPath, $"load") 662ProcessStartInfo psi = new(command, "version")
Microsoft.NET.HostModel (1)
HostModelUtils.cs (1)
26var 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.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 250public virtual int Execute(ProcessStartInfo startInfo, CancellationToken cancellationToken, out string stdOut)
NuGet.Protocol (3)
Plugins\PluginFactory.cs (1)
169ProcessStartInfo startInfo;
Plugins\PluginProcess.cs (2)
22private readonly ProcessStartInfo _startInfo; 75public PluginProcess(ProcessStartInfo startInfo)
RepoTasks (9)
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (3)
206var processInfo = new ProcessStartInfo( 239var processInfo = new ProcessStartInfo( 345var processInfo = new ProcessStartInfo(
src\aspnetcore\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}")
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 (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()
vbc (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()
VBCSCompiler (1)
src\roslyn\src\Compilers\Shared\BuildServerConnection.cs (1)
621var startInfo = new ProcessStartInfo()