Skip to content

gh.exe is deleted on execution #1904

Closed
Closed

Description

@risung

Describe the bug

gh Version: 1.0.0
Git Bash (mintty) Version: 3.2.0
OS: Windows 10, x64 (Bootcamp from MacBook Pro)

Suddenly I was prompted with error:

$ gh pr create -B development
bash: /c/Program Files (x86)/GitHub CLI/gh.exe: No such file or directory

Upon checking, the file was in fact gone. Using the msi installer.


  1. I uninstalled and reinstalled gh cli. I tried making another pull request:
$ gh pr create -B development
bash: /c/Program Files (x86)/GitHub CLI/gh: Permission denied
  1. Afterward, gh.exe was deleted again.

  2. I repeated step interactive pr list #1 and realized I receive a Windows Security Notification:
    image

Expected vs actual behavior

Expected: gh cli to work properly
Actual: gh cli is prompted a windows security thread

Logs

n/a

Activity

  1. tierninho commented on Sep 22, 2020

    @tierninho
    Contributor

    @risung Thank you for the report. Please note we are tracking this at #1894.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions