protected function _unpack($path, $arc) { $cwd = getcwd(); $dir = $this->_dirname($path); chdir($dir); $cmd = $arc['cmd'] . ' ' . $arc['argc'] . ' ' . escapeshellarg($this->_basename($path)); $this->procExec($cmd, $o, $c); chdir($cwd); }