[GH-ISSUE #2085] Can not use GitBash in windows as "Default ExecWindows" #1280

Closed
opened 2026-02-27 00:02:56 +03:00 by kerem · 3 comments
Owner

Originally created by @lannyyip on GitHub (Mar 16, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2085

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version:

v1.12.1

Operating system(linux, macos, or windows7/8/10?):

windows10

Expected Behavior

  1. Capable to specify bash or git-bash in "Default ExecWindows"

Can you reproduce the same behavior in other terminal:

Current Behavior

When I specifed bash in "Default ExecWindows" with following locations, it prompted that "File not found: C:\Program" when I open a new tab:
C:\Program/ Files\Git\bin\bash.exe
C:/Program\ Files/Git/bin/bash.exe
When I specified bash with following location, it promted that "File not found: C:\WINDOWS"C:\Program":
"C:/Program Files/Git/bin/bash.exe"
"C:\Program Files\Git\bin\bash.exe"

Possible Solution

None

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @lannyyip on GitHub (Mar 16, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2085 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version: v1.12.1 ## Operating system(linux, macos, or windows7/8/10?): windows10 ## Expected Behavior <!--- Tell me what should happen --> 1. Capable to specify bash or git-bash in "Default ExecWindows" ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> When I specifed bash in "Default ExecWindows" with following locations, it prompted that "File not found: C:\Program\" when I open a new tab: C:\Program/ Files\Git\bin\bash.exe C:/Program\ Files/Git/bin/bash.exe When I specified bash with following location, it promted that "File not found: C:\WINDOWS\"C:\Program": "C:/Program Files/Git/bin/bash.exe" "C:\Program Files\Git\bin\bash.exe" ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> None ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
kerem 2026-02-27 00:02:56 +03:00
Author
Owner

@lannyyip commented on GitHub (Mar 22, 2021):

May I know how to specified BASH in windows. I can't set even in 1.12.6.
Thank you very much!

<!-- gh-comment-id:803769735 --> @lannyyip commented on GitHub (Mar 22, 2021): May I know how to specified BASH in windows. I can't set even in 1.12.6. Thank you very much!
Author
Owner

@zxdong262 commented on GitHub (Mar 22, 2021):

Should be C:/Program Files/Git/bin/bash.exe if this is the bash.exe path, sorry, I missed something, https://github.com/electerm/electerm/releases/tag/v1.12.7 should work as I tested. Thank you for the feedback @lannyyip

<!-- gh-comment-id:803804616 --> @zxdong262 commented on GitHub (Mar 22, 2021): Should be `C:/Program Files/Git/bin/bash.exe` if this is the bash.exe path, sorry, I missed something, https://github.com/electerm/electerm/releases/tag/v1.12.7 should work as I tested. Thank you for the feedback @lannyyip
Author
Owner

@lannyyip commented on GitHub (Mar 23, 2021):

Woh. Thank you very much! It is OK now!

<!-- gh-comment-id:804655474 --> @lannyyip commented on GitHub (Mar 23, 2021): Woh. Thank you very much! It is OK now!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1280
No description provided.