diff --git a/tests/test_claude_plugin_hook_wrappers.py b/tests/test_claude_plugin_hook_wrappers.py index 9bffa63..e427e0c 100644 --- a/tests/test_claude_plugin_hook_wrappers.py +++ b/tests/test_claude_plugin_hook_wrappers.py @@ -60,7 +60,7 @@ def _run_hook( env["PATH"] = str(bin_dir) return subprocess.run( - [BASH, str(PLUGIN_HOOKS_DIR / script_name)], + [BASH, _shell_path(PLUGIN_HOOKS_DIR / script_name)], input=payload, text=True, capture_output=True,