pub fn process_cmdline_matches_tool_input(
process_cmd: &str,
tool_command: &str,
) -> boolExpand description
True when process_cmd plausibly matches the shell command
captured in a wire-tracked tool’s raw_input.command. Used by
a view’s process row builder (path A+) to overlay wire-tracked
task descriptions onto OS-detected processes when both refer to
the same work.
Unwraps the shell wrapper first (so the comparison is against the
user command, not the /bin/zsh -c ... eval '...' chrome), then matches
on a whitespace-normalized substring basis.
Empty tool_command returns false (no useful match possible).