Expand description
How a name target (and a --by filter) is compared with a process.
By default a name matches a process the way pkill -x does, except that case
is ignored: the whole name, equal ignoring case. --cmd matches the way pkill -f does:
the text anywhere in the name or the full command line. The default is the
safe one: proc kill node must not reach “Claude Helper” or an editor
whose command line happens to mention node.
Structs§
- Names
- Everything about a process a name can be compared with
Enums§
Functions§
- classify
classify_withunder this OS’s rules- classify_
with - How
patternrelates to a process undermode;windowssays whether names follow Windows rules (an optional.exe,\in paths) - matches_
name - Whether
patternmatches a process undermode, by this OS’s rules