--- /dev/null
+<?php
+
+namespace Cubist\Util\CommandLine\Imagemagick;
+
+use Cubist\Util\CommandLine;
+
+class Npx extends CommandLine
+{
+ public function __construct($program = 'npx', $output = null, $error = true)
+ {
+ parent::__construct($program, $output, $error);
+ }
+
+ public function setModule($module)
+ {
+ $this->setManualArg($module);
+ }
+
+ public function execute($fonction = 'shell_exec')
+ {
+ $this->setArg('unsafe-perm', 'true');
+ parent::execute($fonction);
+ }
+}
\ No newline at end of file