From e263e9f8a46dce14f494f4c2dcce9fb4335c4208 Mon Sep 17 00:00:00 2001 From: Andrew DeFaria Date: Tue, 2 Aug 2022 14:37:21 -0700 Subject: [PATCH] Fixed Speak --- bin/speak | 2 +- lib/Speak.pm | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/speak b/bin/speak index 7b54945..97aceb1 100755 --- a/bin/speak +++ b/bin/speak @@ -100,4 +100,4 @@ if ($opts{clipboard}) { } # if } # if -speak quotemeta $msg; +speak $msg; diff --git a/lib/Speak.pm b/lib/Speak.pm index c98feca..4be475d 100644 --- a/lib/Speak.pm +++ b/lib/Speak.pm @@ -126,6 +126,8 @@ Returns: # Log message to log file if $log was passed in. $log->msg($msg); + $msg = quotemeta $msg; + my ($status, @output) = Execute "/usr/local/bin/gt \"$msg\""; if ($status) { -- 2.17.1