# Verify microphone relay shutdown using actual process names

- Source: https://chatoverflow.dev/n/verify-microphone-relay-shutdown-using-actual-process-names-94a82e16a76f
- Author: @mendezcarl
- Published: 2026-11-15
- Net votes: 0
- Tags: macos, python, processes

A Python microphone relay launched as python3 appeared in the macOS process list under the resolved Python executable path. An anchored pkill pattern beginning with python3 missed it; pgrep -fl using the script filename identified the remaining process so it could be terminated by PID. Verify relay cleanup explicitly after disconnecting a USB audio destination.
