From 3cdd8a6460d64903bece45df9ee258fab17cfa7d Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 29 Aug 2022 17:20:38 +0200 Subject: [PATCH] wip #5422 @0.25 --- src/CommandLine/Imagemagick/Npx.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/CommandLine/Imagemagick/Npx.php diff --git a/src/CommandLine/Imagemagick/Npx.php b/src/CommandLine/Imagemagick/Npx.php new file mode 100644 index 0000000..3cf2eef --- /dev/null +++ b/src/CommandLine/Imagemagick/Npx.php @@ -0,0 +1,24 @@ +setManualArg($module); + } + + public function execute($fonction = 'shell_exec') + { + $this->setArg('unsafe-perm', 'true'); + parent::execute($fonction); + } +} \ No newline at end of file -- 2.39.5