Skip to content

Unhandled Exception: AppHarbor.GitCommandException: 'C:\Program' is not recognized as an internal or external command, #22

@Jeff-Tian

Description

@Jeff-Tian
C:\Users\Jeff>appharbor app info

appharbor app info

Unhandled Exception: AppHarbor.GitCommandException: 'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

   at AppHarbor.GitCommand.Execute(String command)
   at AppHarbor.GitRepositoryConfigurer.GetApplicationId()
   at AppHarbor.ApplicationConfiguration.GetApplicationId()
   at AppHarbor.Commands.InfoAppCommand.InnerExecute(String[] arguments)
   at AppHarbor.CommandDispatcher.Dispatch(String[] args)
   at AppHarbor.Program.Main(String[] args)

I suspect that my git was installed under C:\Program Files\Git where the path container space, which was not quoted by the appharbor program.

AppHarbor version: v1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions