public function runCommand($command)
    {
        $folder = dirname($this->file);
        $olddir = getcwd();
        chdir($folder);
        
        ob_start();
        $output = null;
        $cmd = system('composer ' . $command, $output);
        $output = ob_end_clean();
        chdir($olddir);
        
        return $cmd === false ? false : true;
    }