getCommandArguments example



    /** * {@inheritdoc} */
    public function run($filepath)
    {
        if (!$this->isRunnable()) {
            return;
        }

        $arguments = $this->getCommandArguments($filepath);
        $arguments = array_merge($arguments[$filepath]);

        $suppressOutput = ' 1> /dev/null 2> /dev/null';
        $escapeShellCmd = 'escapeshellcmd';

        $isWindowsPlatform = \defined('PHP_WINDOWS_VERSION_BUILD');
        if ($isWindowsPlatform) {
            $suppressOutput = '';
            $escapeShellCmd = 'escapeshellarg';
        }

        
Home | Imprint | This part of the site doesn't use cookies.