Skip to content

Commit

Permalink
(#3526) Expand the list of known terminal emulators
Browse files Browse the repository at this point in the history
These processes are not particularly useful to note as they are common
terminal emulators, so we can exclude them when looking at the process
tree.
  • Loading branch information
vexx32 authored and corbob committed Nov 7, 2024
1 parent aee561b commit f58a4c4
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions src/chocolatey/infrastructure/information/ProcessTree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public class ProcessTree
// (should be in UserAgent.Tests.ps1).
private static readonly string[] _filteredParents = new[]
{
// Windows processes and shells
"explorer",
"winlogon",
"powershell",
Expand All @@ -24,14 +25,23 @@ public class ProcessTree
// The name used to launch windows services
// in the operating system.
"services",
"svchost",
// Nested processes / invoked by the shim choco.exe
"Chocolatey CLI",
// Known Terminal Emulators
"Tabby",
"WindowsTerminal",
"FireCMD",
"alacritty",
"code",
"ConEmu64",
"ConEmuC64",
// Nested processes / invoked by the shim choco.exe
"Chocolatey CLI"
"conhost",
"c3270",
"FireCMD",
"Hyper",
"SecureCRT",
"Tabby",
"wezterm",
"wezterm-gui",
"WindowsTerminal",
};

public ProcessTree(string currentProcessName)
Expand Down

0 comments on commit f58a4c4

Please sign in to comment.