8 calls to drush_shell_cd_and_exec()

drush_archive_dump in commands/core/archive.drush.inc
Command callback. Generate site archive file.
drush_pm_git_drupalorg_compute_rebuild_version in commands/pm/package_handler/git_drupalorg.inc
Helper function to compute the rebulid version string for a project.
drush_tarball_extract in includes/drush.inc
Extract a tarball.
make_download_git in commands/make/make.download.inc
Checks out a git repository to the specified download location.
package_handler_download_project in commands/pm/package_handler/git_drupalorg.inc
Download a project.
package_handler_post_download in commands/pm/package_handler/git_drupalorg.inc
Post download action.
package_handler_update_project in commands/pm/package_handler/git_drupalorg.inc
Update a project (so far, only modules are supported).
_drush_generate_custom_project in commands/make/generate.make.inc
Create a project record for an extension not downloaded from drupal.org