From 0085319c18ce7a62139cda318c5a5ccc0e4beed6 Mon Sep 17 00:00:00 2001 From: bazuin-32 Date: Thu, 14 Jul 2022 11:23:18 -0600 Subject: [PATCH] Fix error when running `hyprctl dispatch exec` with an arg that contains a `/` --- hyprctl/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index ce77054f..2e8bbb06 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -159,7 +159,7 @@ void dispatchRequest(int argc, char** argv) { return; } - std::string rq = "dispatch " + std::string(argv[2]) + " " + std::string(argv[3]); + std::string rq = "/dispatch " + std::string(argv[2]) + " " + std::string(argv[3]); request(rq); }