Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"async-handle-result: no such file or directory, git" ignoring exec-path? #4507

Closed
dmich2 opened this issue Jan 9, 2016 · 5 comments
Closed
Labels
Git Loading stale marked as a stale issue/pr (usually by a bot) User Configuration

Comments

@dmich2
Copy link

dmich2 commented Jan 9, 2016

Description

Just installed spacemacs. I ran into issue #4367 so I put
(add-to-list 'exec-path "C:/Program Files (x86)/Git/bin")
in my (defun dotspacemacs/user-init () as I didn't want to put git in my PATH.

I now get the following error:
error in process sentinel: async-handle-result: Searching for program: no such file or directory, git error in process sentinel: Searching for program: no such file or directory, git

Is this related to issue #3390 ?

brabalan commented on Oct 15, 2015
@justbur I did not know of async till yesterday, and it seems we have to worry about it anyway (as in: any use of a variable defined outside of the async should be injected).

as in maybe the value of exec-path has to also be "injected"?

System Info

  • OS: windows-nt
  • Emacs: 24.5.1
  • Spacemacs: 0.105.4
  • Spacemacs branch: master (rev. da94a25)
  • Distribution: spacemacs
  • Layers:
(emacs-lisp)
@luxbock
Copy link

luxbock commented May 27, 2016

I'm having this same issue. I'm on Windows as well. I have tried adding git to my Path as well which didn't work either.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!

@github-actions github-actions bot added the stale marked as a stale issue/pr (usually by a bot) label Feb 29, 2020
@sungam94
Copy link

sungam94 commented Dec 1, 2021

Problem still exists under windows if custom git path is added to exec-path.

@rosso-
Copy link

rosso- commented Feb 24, 2022

Same problem here on Freebsd 13. Using magit from emacs works fine, but from emacsclient - same issue. Maybe this irrelevant, but maybe not

@lebensterben
Copy link
Contributor

@rosso-
(executable-find "git") ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Git Loading stale marked as a stale issue/pr (usually by a bot) User Configuration
Projects
None yet
Development

No branches or pull requests

7 participants