-
Notifications
You must be signed in to change notification settings - Fork 552
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
SSH: Unable to find program #5839
Comments
Thanks a lot for reporting! I am pretty sure that #5756 has something to do with it.
This I will address, hoping that it will work again then. |
gitbutlerapp#5839) That way, the shell will be used on Windows as well.
Still getting this same issue on the latest nightly with the potential fix merged.
|
@Byron I've taken a look at the PR which seems to use with_shell which is always uses WDYT? |
This is also what I had in mind when adding In any case, even when using the shell configured by the user, it might not come up as login shell and thus doesn't read all the configuration files that it would need to truly resemble the environment that the user sees in a terminal. On top of that, what it takes to spawn a login shell seems to differ depending on the shell. What we'd really want is a way to use the environment that the user sees in their standard terminal environment, and if available, there wouldn't be a need to go through a shell at all. Thinking about it more, once it's clear how to make a shell launch as interactive shell at least, or login shell even, while executing a command, then doing so might be the most compatible as on each invocation it would pick up the latest settings. Otherwise, if GitButler were to read the environment from the loginshell and make it its own, it would effectively cache these and can't pick up changes easily. Probably it will be easiest to to try to use How does that sound? |
Sounds good to me 👍 |
Are you interested in working on it? Otherwise I can take a look |
I just realized that I was still assigned, but would love if you could take it over. |
That way it should pick up all configuration just as it does when invoking it from the terminal.
That way it should pick up all configuration just as it does when invoking it from the terminal.
The linked PR will now enforce using the current users default shell, assuming it is picked up in the In any case, at most a day after the PR gets merged one should be able to try it out in the nightly build. |
That way it should pick up all configuration just as it does when invoking it from the terminal.
That way it should pick up all configuration just as it does when invoking it from the terminal.
Version
0.14.4
Operating System
Windows
Distribution Method
msi (Windows)
Describe the issue
Using 1password as my ssh agent. Was working until I updated to latest version:
SSH agent path: C:\Program Files\1Password\app\8\op-ssh-sign.exe
Confirmed it exists, is working for other programs
How to reproduce
No response
Expected behavior
Should sign commits.
Relevant log output
The text was updated successfully, but these errors were encountered: