From 576e2fd6f22344e66fda21142b48ad6280e6e719 Mon Sep 17 00:00:00 2001 From: b Date: Sat, 8 Jul 2023 16:33:53 +0000 Subject: [PATCH] fix system call --- botm_common.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/botm_common.pm b/botm_common.pm index a93b118..0f3f2d9 100644 --- a/botm_common.pm +++ b/botm_common.pm @@ -25,7 +25,7 @@ use Encode ('encode', 'decode'); use Exporter; -our $VERSION = '1.0.15'; +our $VERSION = '1.0.16'; our @ISA = qw(Exporter); our @EXPORT = (); our @EXPORT_OK = ( @@ -103,7 +103,7 @@ sub system_encoded { push @newarg, encode('locale', $a); } - return system $newcmd, @newarg; + return system {$newcmd} @newarg; } sub exec_encoded { -- 2.30.2