use Process.quote in Tmux#set_global_option
This commit is contained in:
parent
579a823729
commit
4a93da7c0e
|
@ -209,7 +209,7 @@ class Tmux
|
||||||
end
|
end
|
||||||
|
|
||||||
def set_global_option(name, value)
|
def set_global_option(name, value)
|
||||||
exec(["set-option", "-g", name, value].join(' '))
|
exec(Process.quote(["set-option", "-g", name, value]))
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_global_option(name)
|
def get_global_option(name)
|
||||||
|
|
Loading…
Reference in New Issue