123 instantiations of Process
aspire (13)
Aspire.Cli.EndToEnd.Tests (2)
Aspire.Cli.Tests (1)
Aspire.Deployment.EndToEnd.Tests (28)
Aspire.EndToEnd.Tests (2)
Aspire.Hosting (1)
Aspire.Hosting.Azure (1)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Tests (2)
Aspire.Templates.Tests (2)
dotnet-svcutil-lib (1)
dotnet-user-jwts (1)
dotnet-user-secrets (1)
HelixTestRunner (1)
Infrastructure.Tests (4)
Interop.FunctionalTests (1)
InteropTests (2)
Microsoft.Agents.AI.ProjectTemplates.Tests (1)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.Components.WebViewE2E.Test (1)
Microsoft.AspNetCore.Server.IntegrationTesting (6)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (1)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (1)
Microsoft.Build.CommandLine.UnitTests (2)
Microsoft.Build.UnitTests.Shared (1)
Microsoft.Build.Utilities.Core (1)
Microsoft.Build.Utilities.UnitTests (1)
Microsoft.CodeAnalysis.InteractiveHost (1)
Microsoft.CodeAnalysis.Test.Utilities (2)
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Microsoft.DotNet.Build.Tasks.Feed (1)
Microsoft.DotNet.Internal.SymbolHelper (1)
Microsoft.DotNet.MacOsPkg.Core (1)
Microsoft.DotNet.RemoteExecutor (1)
Microsoft.DotNet.SetupNugetSources.Tests (1)
Microsoft.DotNet.SignTool (1)
Microsoft.Extensions.AI.Templates.Tests (1)
Microsoft.Extensions.DataIngestion.MarkItDown (1)
Microsoft.Extensions.DataIngestion.Tests (1)
Microsoft.McpServer.ProjectTemplates.Tests (1)
Microsoft.ML.CodeGenerator (3)
Microsoft.ML.Sweeper (1)
Microsoft.VisualStudioCode.Razor.IntegrationTests (8)
PrepareTests (1)
PresentationUI (2)
Roslyn.Test.Performance.Utilities (1)
RunTests (1)
System.Diagnostics.Process (5)
System\Diagnostics\Process.cs (5)
919return new Process(machineName, isRemoteMachine, processId, null);
936return new Process(".", false, processId, null);
1018processes[i] = new Process(machineName, isRemoteMachine, processInfo.ProcessId, processInfo);
1033return new Process(".", false, Environment.ProcessId, null);
1381Process process = new Process();
System.Net.Ping (1)
System.Windows.Forms.IntegrationTests.Common (1)
System.Windows.Forms.Tests (1)
1305 references to Process
aspire (90)
Aspire.Cli.EndToEnd.Tests (2)
Aspire.Cli.Tests (1)
Aspire.Deployment.EndToEnd.Tests (28)
Aspire.EndToEnd.Tests (5)
Aspire.Hosting (11)
Aspire.Hosting.Azure (3)
Aspire.Hosting.DevTunnels (1)
Aspire.Hosting.Docker (3)
Aspire.Hosting.JavaScript.Tests (4)
Aspire.Hosting.Maui (2)
Aspire.Hosting.Python (2)
Aspire.Hosting.Python.Tests (4)
Aspire.Hosting.RemoteHost (1)
Aspire.Hosting.Tests (6)
Aspire.Templates.Tests (5)
BuildValidator (1)
ClientSample (2)
csc (5)
dotnet-dev-certs (25)
dotnet-getdocument (3)
dotnet-openapi (3)
dotnet-sql-cache (1)
dotnet-svcutil-lib (6)
dotnet-user-jwts (2)
dotnet-user-secrets (2)
ExampleTask (3)
ExampleTaskX64 (2)
ExampleTaskX86 (2)
ExceptionHandlerSample (1)
GetDocument.Insider (1)
HelixTestRunner (5)
IdeCoreBenchmarks (16)
IIS.FunctionalTests (7)
IIS.LongTests (7)
IIS.NewHandler.FunctionalTests (7)
IIS.ShadowCopy.Tests (7)
IISExpress.FunctionalTests (7)
Infrastructure.Tests (8)
InteractiveHost.UnitTests (3)
Interop.FunctionalTests (3)
InteropTests (11)
Microsoft.Agents.AI.ProjectTemplates.Tests (2)
Microsoft.Arcade.Common (1)
Microsoft.AspNetCore.Components.Testing (4)
Microsoft.AspNetCore.Components.WebAssembly.Server (5)
Microsoft.AspNetCore.Components.WebView.WindowsForms (1)
Microsoft.AspNetCore.Components.WebView.Wpf (1)
Microsoft.AspNetCore.Components.WebViewE2E.Test (1)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (24)
Microsoft.AspNetCore.Hosting.FunctionalTests (3)
Microsoft.AspNetCore.InternalTesting (4)
Microsoft.AspNetCore.OpenApi.Build.Tests (3)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Microsoft.AspNetCore.Server.IntegrationTesting (17)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (8)
Microsoft.AspNetCore.Server.Kestrel.Core (24)
Microsoft.AspNetCore.Shared.Tests (25)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
Microsoft.AspNetCore.SpaProxy (6)
Microsoft.AspNetCore.SpaServices.Extensions (4)
Microsoft.AspNetCore.StaticFiles.Tests (1)
Microsoft.AspNetCore.WebSockets.ConformanceTests (2)
Microsoft.Build (57)
BackEnd\Components\Communications\NodeProviderOutOfProcBase.cs (28)
166List<Process> nodeProcesses = GetPossibleRunningNodes().nodeProcesses.ToList();
172nodeProcesses.AddRange(Process.GetProcessesByName(Path.GetFileNameWithoutExtension(msbuildtaskhostExeName)));
175foreach (Process nodeProcess in nodeProcesses)
276ConcurrentQueue<Process> possibleRunningNodes = null;
281IList<Process> possibleRunningNodesList;
285possibleRunningNodes = new ConcurrentQueue<Process>(possibleRunningNodesList);
330while (possibleRunningNodes != null && possibleRunningNodes.TryDequeue(out var nodeToReuse))
403Process msbuildProcess = nodeLauncher.Start(launchData, nodeId);
451void CreateNodeContext(int nodeId, Process nodeToReuse, Stream nodeStream, byte negotiatedVersion)
468private (string expectedProcessName, IList<Process> nodeProcesses) GetPossibleRunningNodes(
481Process[] processes;
484processes = Process.GetProcessesByName(expectedProcessName);
489return (expectedProcessName, Array.Empty<Process>());
508private static IList<Process> FilterProcessesByNodeMode(Process[] processes, NodeMode expectedNodeMode, string expectedProcessName)
512List<Process> filtered = new(capacity: processes.Length);
514foreach (Process process in processes)
655(_, IList<Process> nodeProcesses) = GetPossibleRunningNodes(nodeMode);
657foreach (var process in nodeProcesses)
670private static (string expectedProcessName, IList<Process> nodeProcesses) GetPossibleRunningNodes(NodeMode? expectedNodeMode)
674Process[] processes;
677processes = Process.GetProcessesByName(expectedProcessName);
681return (expectedProcessName, Array.Empty<Process>());
686List<Process> filteredProcesses = [];
688foreach (var process in processes)
878private readonly Process _process;
880internal Process Process { get { return _process; } }
960Process process,
Microsoft.Build.CommandLine.UnitTests (9)
Microsoft.Build.Engine.UnitTests (31)
Microsoft.Build.Framework (16)
Microsoft.Build.Tasks.CodeAnalysis (5)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (5)
Microsoft.Build.Tasks.Core (2)
Microsoft.Build.Tasks.UnitTests (4)
Microsoft.Build.UnitTests.Shared (2)
Microsoft.Build.Utilities.Core (16)
TrackedDependencies\FileTracker.cs (6)
689public static Process StartProcess(string command, string arguments, ExecutableType toolType, string dllName, string intermediateDirectory, string rootFiles, string cancelEventName)
694return Process.Start(GetTrackerPath(toolType), fullArguments);
707public static Process StartProcess(string command, string arguments, ExecutableType toolType, string dllName, string intermediateDirectory, string rootFiles)
719public static Process StartProcess(string command, string arguments, ExecutableType toolType, string intermediateDirectory, string rootFiles)
730public static Process StartProcess(string command, string arguments, ExecutableType toolType, string rootFiles)
740public static Process StartProcess(string command, string arguments, ExecutableType toolType)
Microsoft.Build.Utilities.UnitTests (23)
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.InteractiveHost (14)
Microsoft.CodeAnalysis.LanguageServer (9)
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Microsoft.CodeAnalysis.LanguageServer.UnitTests (4)
Microsoft.CodeAnalysis.Remote.Razor (2)
Microsoft.CodeAnalysis.Remote.ServiceHub (5)
Microsoft.CodeAnalysis.Remote.Workspaces (4)
Microsoft.CodeAnalysis.Test.Utilities (5)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.CodeAnalysis.Workspaces.MSBuild (4)
Microsoft.Data.Analysis.Tests (2)
Microsoft.DotNet.Arcade.Sdk (2)
Microsoft.DotNet.Arcade.Sdk.Tests (1)
Microsoft.DotNet.ArcadeAzureIntegration (2)
Microsoft.DotNet.Build.Tasks.Feed (2)
Microsoft.DotNet.Internal.SymbolHelper (1)
Microsoft.DotNet.MacOsPkg.Core (1)
Microsoft.DotNet.MacOsPkg.Tests (2)
Microsoft.DotNet.Open.Api.Tools.Tests (8)
Microsoft.DotNet.RemoteExecutor (9)
Microsoft.DotNet.SetupNugetSources.Tests (1)
Microsoft.DotNet.SignCheckLibrary (2)
Microsoft.DotNet.SignTool (13)
Microsoft.DotNet.StrongName (4)
Microsoft.Extensions.AI.Evaluation.Console (1)
Microsoft.Extensions.AI.Templates.Tests (2)
Microsoft.Extensions.ApiDescription.Client.Tests (10)
Microsoft.Extensions.Caching.StackExchangeRedis.Tests (4)
Microsoft.Extensions.DataIngestion.MarkItDown (1)
Microsoft.Extensions.DataIngestion.Tests (1)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Microsoft.Extensions.Hosting.WindowsServices (3)
Microsoft.Extensions.Telemetry (1)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.McpServer.ProjectTemplates.Tests (2)
Microsoft.ML.AutoML (4)
Microsoft.ML.CodeGenerator (3)
Microsoft.ML.Data (2)
Microsoft.ML.FastTree (3)
Microsoft.ML.Sweeper (1)
Microsoft.ML.TestFramework (3)
Microsoft.VisualBasic.IntegrationTests (14)
Microsoft.VisualStudio.Extensibility.Testing.Xunit (37)
src\VisualStudio\IntegrationTest\Harness\XUnitShared\Harness\VisualStudioInstanceFactory.cs (15)
39if (Process.GetCurrentProcess().ProcessName != "devenv")
129Process hostProcess;
303private static async Task<Process> StartNewVisualStudioProcessAsync(string installationPath, Version version, string? rootSuffix, ImmutableDictionary<string, string> environmentVariables, ImmutableList<string> extensionFiles, string vsInstanceId)
340using var installProcess = Process.Start(installProcessStartInfo);
382Process.Start(CreateStartInfo(vsRegEditExeFile, silent: true, $"set \"{installationPath}\" \"{rootSuffix}\" HKCU General OnEnvironmentStartup dword 10")).WaitForExit();
395var clearCacheProcess = Process.Start(CreateStartInfo(vsExeFile, silent: true, $"/clearcache {vsLaunchArgs}"));
399var updateConfigProcess = Process.Start(CreateStartInfo(vsExeFile, silent: true, $"/updateconfiguration {vsLaunchArgs}"));
402var resetSettingsProcess = Process.Start(CreateStartInfo(vsExeFile, silent: true, $"/resetsettings General.vssettings /command \"File.Exit\" {vsLaunchArgs}"));
410var process = Process.Start(CreateStartInfo(vsExeFile, silent: false, vsLaunchArgs));
451private static void TakeSnapshotEveryTimeSpanUntilProcessExit(Process process, string commandBeingExecuted)
Microsoft.VisualStudio.IntegrationTestService (3)
Microsoft.VisualStudio.LanguageServices (5)
Microsoft.VisualStudio.LanguageServices.DevKit (2)
Microsoft.VisualStudio.LanguageServices.Razor (2)
Microsoft.VisualStudio.Razor.IntegrationTests (1)
Microsoft.VisualStudioCode.Razor.IntegrationTests (8)
MSBuild (4)
MSBuildTaskHost (6)
netstandard (1)
Pipelines.AppHost (8)
Pipelines.Library (2)
PrepareTests (1)
PresentationUI (4)
Replay (4)
RepoTasks (24)
Roslyn.Test.Performance.Utilities (1)
RunTests (30)
Stress.TelemetryService (4)
Swaggatherer (1)
System (1)
System.CodeDom (2)
System.Configuration.ConfigurationManager (2)
System.Diagnostics.Process (75)
System.Diagnostics.TextWriterTraceListener (2)
System.Drawing.Common.Tests (2)
System.Net.Ping (3)
System.Windows.Forms (3)
System.Windows.Forms.IntegrationTests.Common (25)
System.Windows.Forms.Tests (1)
System.Windows.Forms.UI.IntegrationTests (8)
Templates.Blazor.Tests (34)
Templates.Blazor.WebAssembly.Auth.Tests (46)
Templates.Blazor.WebAssembly.Tests (46)
Templates.Mvc.Tests (46)
Templates.Tests (46)
ThreadSafeTaskAnalyzer.Tests (1)
UIAutomationClient (2)
UIAutomationClientSideProviders (4)
vbc (5)
VBCSCompiler (6)
Wasm.Performance.ConsoleHost (1)
WinFormsControlsTest (2)