Uploaded image for project: 'Sourcetree For Mac'
  1. Sourcetree For Mac
  2. SRCTREE-4541

Can't open terminal to project if path has spaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Last commented by user?:
      true
    • Symptom Severity:
      Minor

      Description

      When a project's path has a space in it and I click the Terminal icon to open a terminal to the current project, I get an error that `-bash: cd: too many arguments`. This is because the space makes it appear that there are two (or more) arguments passed to `cd`.

      Escaping the path, or placing the path in quotes will make it possible to use this feature.

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last commented:
                2 years, 15 weeks, 3 days ago