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

bash.exe in Gow 0.7.0 #65

Open
fitj opened this issue Oct 1, 2012 · 27 comments
Open

bash.exe in Gow 0.7.0 #65

fitj opened this issue Oct 1, 2012 · 27 comments

Comments

@fitj
Copy link

fitj commented Oct 1, 2012

I double-clicked bash.exe in Gow 0.7.0, but no window of bash.exe appeared.

Then, I opened a window of Command Prompt, went down to the Gow¥bind folder, and entered "gow". However, neither a message nor a new window of bash was obtained.

How can I use bash.exe included in Gow 0.7.0?

Please delete #64 in closed issues (my mistake).

@bmatzelle
Copy link
Owner

You're right. I'm having the same issue.

@podolsky
Copy link

Same here - Win 7 Enterprise 64-bit SP1. From a command prompt running bash just returns silently; running from Start gives a brief flash of a command prompt but it's almost immediately closed.

@jwdonal
Copy link

jwdonal commented Oct 10, 2012

"Same here - Win 7 Enterprise 64-bit SP1. From a command prompt running bash just returns silently; running from Start gives a brief flash of a command prompt but it's almost immediately closed."

Exactly identical issue here. :( Guess I'll have to install the monstrosity that is cygwin. Any timeframe on when this will be fixed?

@r-moeritz
Copy link

Same issue. Please fix.

@yakimant
Copy link

So no way to run bash from GOW on Win7_64?
Maybe any workaround present?

@gclaramunt
Copy link

Same here... would love to get rid of Cygwin, and GOW bash is the only thing missing

@ab1234
Copy link

ab1234 commented Apr 21, 2013

Here is the fix:
Create a directory named "etc" in GOW installation directory (For e.g. C:\Program Files (x86)\Gow).
Hope this helps :)

@bmatzelle
Copy link
Owner

That does help. I'll add this to the installer.

@bmatzelle
Copy link
Owner

I wasn't aware of that. Thank you.

@podolsky
Copy link

Fantastic - thanks ab1234!

@sjackman
Copy link

+1

@beruic
Copy link

beruic commented Jun 24, 2013

@bmatzelle: So when will this new installer be available?

@bmatzelle
Copy link
Owner

Some time this summer. Whenever I have free time :)

@beruic
Copy link

beruic commented Jun 24, 2013

Could you please make a decent PS1 showing the current path as well? Where is the .bashrc located? I'd gladly make one if you could tell me.

@parisio
Copy link

parisio commented Oct 19, 2013

Just a note: I added /etc to my Gow installation directory, as an above poster recommended, which allowed bash to open fine with access to all commands as far as I could tell. I then integrated very simply with Console2 by creating a new tab, and Gow bin/bash.exe as the Shell. Maybe this can serve as a stopgap solution for some of you.

@eteeselink
Copy link

Did you ever add this to the installer? I just got Gow 0.8.0 but bash still didn't work. Manually creating /etc helped.

@ghost
Copy link

ghost commented May 6, 2014

@eteeselink this is abandonware

@eteeselink
Copy link

@svnpenn with the latest release 3 months old?

@bmatzelle
Copy link
Owner

When I made the last release a few months back I just didn't get to this ticket. I don't have a lot of free time to clean up tickets. But this is Github so if you want to fork it and send me a pull request then I'd gladly work it in.

@eteeselink
Copy link

Thanks for the quick reply! I completely understand where you're coming from, I was just wondering what the status was. I'll see if I can find some time to work it in and make a pull request.

rivy added a commit to rivy/gow that referenced this issue Jul 2, 2015
* add the `etc` directory (containing `.keep.README.md`)
  - note: the `.keep.README.md` file is a prompt for git to store the otherwise empty directory
* fixes bmatzelle#65, bmatzelle#127, and bmatzelle#180

.# DISCUSSION

This commit builds upon the fix for the same problem done in
bmatzelle/gow@21710c6 by adding the `etc`
directory into the repo. This makes the repo usable when installed as
portable app (eg, via `scoop`) without requiring extra post installation
steps.
@ioleo
Copy link

ioleo commented Aug 6, 2015

I've got GOW 0.8. The installer did not add etc directory. Without it no bash scripts were working.

@DMcCunney
Copy link

Gow works as expected on my 64 bit Win7 Pro desktop. I'm currently configuring a 64 bit Win8.1 laptop. Gow installs from the 0.80 installer, but bash fails to run. Manually creating the etc directory does not resolve the issue. Does Win8.1 need something else?


Dennis

@mdtdev
Copy link

mdtdev commented Mar 14, 2016

FYI -- Gow's bash works on my Windows 10 system (64-bit Windows/x64) once I manually add the /etc directory to the Gow install location. The etc directory was not created by the installer (Gow-0.8.0). I will report if there are other problems with bash.

@alexgorbatchev
Copy link

What @mdtdev said above is still the case.

@heleno
Copy link

heleno commented Feb 7, 2020

As of today, @mdtdev 's comments still apply. Attempting to invoke bash.exe resulted in a silent failure, with the command returning to the cmd prompt with no error message. I added the etc directory, and now bash happily starts up on Windows 10.

@CoderCowMoo
Copy link

CoderCowMoo commented Nov 4, 2021

Just to update, @mdtdev's & @ab1234's suggestions work fine with the same thing happening before and after creating the etc/ directory as described in @heleno's comment.

@despicableMinions
Copy link

despicableMinions commented Jul 8, 2022

@bmatzelle @CoderCowMoo @ab1234 @mdtdev @heleno
Even creating the etc/ folder in Gow-0.8.0, still cannot open bash.exe in the Win10 terminal. Error pops:

0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x13E0000, BaseAddress 0x1550000, RegionSize 0x81000, State 0x1000
gow\bin\bash.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0

refer to https://stackoverflow.com/questions/18502999/git-extensions-win32-error-487-couldnt-reserve-space-for-cygwins-heap-win32, https://confluence.atlassian.com/bitbucketserverkb/couldn-t-reserve-space-for-cygwin-s-heap-790626826.html, it sounds like bug in msys-1.0.dll?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.