use Process.quote in Tmux#set_global_option

This commit is contained in:
Jorge Morante 2023-10-05 19:21:32 +02:00
parent 579a823729
commit 4a93da7c0e
1 changed files with 1 additions and 1 deletions

View File

@ -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)