From 4a93da7c0e5b26cea77b52508e49ac44be76d156 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Thu, 5 Oct 2023 19:21:32 +0200 Subject: [PATCH] use Process.quote in Tmux#set_global_option --- src/tmux.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmux.cr b/src/tmux.cr index ab3f954..910b1d5 100644 --- a/src/tmux.cr +++ b/src/tmux.cr @@ -209,7 +209,7 @@ class Tmux end def set_global_option(name, value) - exec(["set-option", "-g", name, value].join(' ')) + exec(Process.quote(["set-option", "-g", name, value])) end def get_global_option(name)