Process Rule
You may assign policy for specified process. Process rule is available for Chute Mac only. On iOS, PROCESS-NAME never matches; PROCESS-NAME-REGEX may match a pseudo process name derived from the HTTP User-Agent.
There are 3 process rule types: PROCESS-NAME, PROCESS-PATH, and PROCESS-NAME-REGEX.
PROCESS-NAME
PROCESS-NAME,Telegram,Proxy
Rule matches if the process name of the request matches. Wildcard characters * and ? are supported.
The process name is only ever a name, never a full path: for macOS application bundles it is the app's localized display name; for other processes it is the executable filename. To match a full path, use PROCESS-PATH instead.
PROCESS-PATH
PROCESS-PATH,/Applications/Safari.app,Proxy
Rule matches if the full process path of the request matches the pattern (case-insensitive). Wildcard characters * and ? are supported.
Notice: PROCESS-PATH works on macOS for all inbounds (HTTP, SOCKS5, and TUN). For application bundles the rule matches against the bundle path (e.g.
/Applications/Safari.app); for other processes it matches against the full executable path. Matching is case-insensitive. On iOS the process path is never populated, so PROCESS-PATH rules do not match there.
PROCESS-NAME-REGEX
PROCESS-NAME-REGEX,^Safari$,DIRECT
Rule matches if the process name matches the regular expression.