333 instantiations of ProcessStartInfo
aspire (34)
Aspire.Cli.EndToEnd.Tests (1)
Aspire.Cli.Tests (1)
Aspire.Deployment.EndToEnd.Tests (28)
Aspire.EndToEnd.Tests (2)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.JavaScript.Tests (2)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Python (1)
Aspire.Hosting.Python.Tests (2)
Aspire.Hosting.Tests (4)
Aspire.Templates.Tests (2)
BuildValidator (1)
csc (1)
dotnet-dev-certs (11)
dotnet-getdocument (1)
dotnet-openapi (1)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
Infrastructure.Tests (4)
Interop.FunctionalTests (1)
InteropTests (4)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.Components.Testing (1)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Components.WebViewE2E.Test (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (11)
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IntegrationTesting (7)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (11)
Microsoft.AspNetCore.Shared.Tests (11)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.SpaProxy (3)
Microsoft.AspNetCore.SpaServices.Extensions (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.Build (1)
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.UnitTests (4)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.LanguageServer (1)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild (3)
Microsoft.DotNet.Arcade.Sdk (1)
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Microsoft.DotNet.ArcadeAzureIntegration (1)
Microsoft.DotNet.Build.Tasks.Feed (1)
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)
Microsoft.DotNet.MacOsPkg.Core (1)
Microsoft.DotNet.MacOsPkg.Tests (1)
Microsoft.DotNet.Open.Api.Tools.Tests (2)
Microsoft.DotNet.RemoteExecutor (2)
Microsoft.DotNet.SetupNugetSources.Tests (1)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.SignTool (7)
Microsoft.DotNet.StrongName (2)
Microsoft.Extensions.AI.Evaluation.Console (1)
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.ApiDescription.Client.Tests (2)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Microsoft.Extensions.DataIngestion.MarkItDown (1)
Microsoft.Extensions.DataIngestion.Tests (1)
Microsoft.McpServer.ProjectTemplates.Tests (1)
Microsoft.VisualBasic.IntegrationTests (5)
Microsoft.VisualStudio.Extensibility.Testing.Xunit (1)
Pipelines.AppHost (4)
Pipelines.Library (1)
Replay (1)
RepoTasks (11)
Roslyn.Test.Performance.Utilities (1)
RunTests (2)
System.CodeDom (1)
System.Diagnostics.Process (5)
System.Net.Ping (1)
System.Windows.Forms (1)
System.Windows.Forms.IntegrationTests.Common (1)
Templates.Blazor.Tests (13)
Templates.Blazor.WebAssembly.Auth.Tests (15)
Templates.Blazor.WebAssembly.Tests (15)
Templates.Mvc.Tests (15)
Templates.Tests (15)
vbc (1)
VBCSCompiler (1)
WinFormsControlsTest (2)
368 references to ProcessStartInfo
aspire (32)
Aspire.EndToEnd.Tests (6)
Aspire.Hosting.DevTunnels (2)
Aspire.Hosting.JavaScript.Tests (1)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Python (1)
Aspire.Hosting.Python.Tests (2)
Aspire.Hosting.Tests (1)
Aspire.Templates.Tests (6)
csc (1)
dotnet-dev-certs (9)
dotnet-getdocument (1)
dotnet-openapi (1)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
IIS.FunctionalTests (1)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IISExpress.FunctionalTests (1)
Infrastructure.Tests (10)
Interop.FunctionalTests (1)
InteropTests (3)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.Arcade.Common (4)
Microsoft.AspNetCore.Components.Testing (3)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (9)
Microsoft.AspNetCore.Hosting.FunctionalTests (1)
Microsoft.AspNetCore.OpenApi.Build.Tests (1)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
Microsoft.AspNetCore.Server.IntegrationTesting (9)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Microsoft.AspNetCore.Shared.Tests (9)
Microsoft.AspNetCore.SpaProxy (3)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.Build (1)
Microsoft.Build.Engine.UnitTests (1)
Microsoft.Build.Framework (5)
Microsoft.Build.Tasks.CodeAnalysis (1)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
Microsoft.Build.Tasks.Core (1)
Microsoft.Build.Tasks.UnitTests (1)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (2)
Microsoft.Build.Utilities.UnitTests (18)
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)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (3)
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.Workspaces.MSBuild (10)
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)
Microsoft.DotNet.ArcadeAzureIntegration (1)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Internal.SymbolHelper (1)
Microsoft.DotNet.MacOsPkg.Core (2)
Microsoft.DotNet.Open.Api.Tools.Tests (2)
Microsoft.DotNet.RemoteExecutor (2)
Microsoft.DotNet.SignCheckLibrary (1)
Microsoft.DotNet.SignTool (3)
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.ApiDescription.Client.Tests (2)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (1)
Microsoft.Extensions.DataIngestion.MarkItDown (1)
Microsoft.Extensions.DataIngestion.Tests (1)
Microsoft.McpServer.ProjectTemplates.Tests (1)
Microsoft.VisualBasic.IntegrationTests (3)
Microsoft.VisualStudio.Extensibility.Testing.Xunit (3)
netstandard (1)
Replay (1)
RepoTasks (9)
Roslyn.Test.Performance.Utilities (1)
RunTests (7)
System (1)
System.CodeDom (1)
System.Diagnostics.Process (51)
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.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.Net.Ping (1)
System.Windows.Forms (1)
System.Windows.Forms.IntegrationTests.Common (2)
Templates.Blazor.Tests (11)
Templates.Blazor.WebAssembly.Auth.Tests (13)
Templates.Blazor.WebAssembly.Tests (13)
Templates.Mvc.Tests (13)
Templates.Tests (13)
ThreadSafeTaskAnalyzer.Tests (1)
vbc (1)
VBCSCompiler (1)
WinFormsControlsTest (2)
WinShimmer (1)