1 diff --git a/notifypy/os_notifiers/macos.py b/notifypy/os_notifiers/macos.py
2 index 68731fb..53fcee3 100644
3 --- a/notifypy/os_notifiers/macos.py
4 +++ b/notifypy/os_notifiers/macos.py
5 @@ -75,7 +75,7 @@ class MacOSNotifier(BaseNotifier):
6 def _find_installed_afplay():
7 """Function to find the path for afplay"""
9 - run_which_for_aplay = subprocess.check_output(["which", "afplay"])
10 + run_which_for_aplay = subprocess.check_output(["@which@", "afplay"])
11 return run_which_for_aplay.decode("utf-8")
12 except subprocess.CalledProcessError:
13 logger.exception("Unable to find aplay.")