From: b Date: Sat, 8 Jul 2023 16:33:53 +0000 (+0000) Subject: fix system call X-Git-Tag: v1.0.16 X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;h=576e2fd6f22344e66fda21142b48ad6280e6e719;p=botm%2Fcommon-perl fix system call --- 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 {