src/Neutrino/Optimizer/Composer/Script.php
protected function callComposer($action, $options = [])
    {
        $cmd = $this->buildComposerCmd($action, $options);

        $resource = proc_open($cmd, [], $pipes, $this->getBasePath());

        foreach ($pipes as $pipe) {
            fclose($pipe);
        }

        proc_close($resource);
    }
protected function callComposer($action, $options = [])
    {
        $cmd = $this->buildComposerCmd($action, $options);

        $resource = proc_open($cmd, [], $pipes, $this->getBasePath());

        foreach ($pipes as $pipe) {
            fclose($pipe);
        }

        proc_close($resource);
    }
Call composer

@param string $action
@param array  $options