diff --git a/src/cli/install.rs b/src/cli/install.rs index ba03e5b..55ce2d9 100644 --- a/src/cli/install.rs +++ b/src/cli/install.rs @@ -380,7 +380,7 @@ if __name__ == "__main__": "matcher": "startup|resume", "hooks": [{ "type": "command", - "command": format!("python3 \"{}\"", watch_py.display()), + "command": ["python3", watch_py.display().to_string()], "timeout": 10 }] }); @@ -399,7 +399,7 @@ if __name__ == "__main__": let hook_entry = serde_json::json!({ "hooks": [{ "type": "command", - "command": format!("python3 \"{}\"", kill_py.display()), + "command": ["python3", kill_py.display().to_string()], "timeout": 10 }] });