gow icon indicating copy to clipboard operation
gow copied to clipboard

bash.exe in Gow 0.7.0

Open fitj opened this issue 12 years ago • 27 comments

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).

fitj avatar Oct 01 '12 03:10 fitj

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

bmatzelle avatar Oct 01 '12 13:10 bmatzelle

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.

podolsky avatar Oct 10 '12 08:10 podolsky

"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?

jwdonal avatar Oct 10 '12 21:10 jwdonal

Same issue. Please fix.

r-moeritz avatar Oct 18 '12 11:10 r-moeritz

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

yakimant avatar Dec 20 '12 10:12 yakimant

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

gclaramunt avatar Feb 28 '13 02:02 gclaramunt

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

ab1234 avatar Apr 21 '13 14:04 ab1234

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

bmatzelle avatar Apr 22 '13 12:04 bmatzelle

I wasn't aware of that. Thank you.

bmatzelle avatar Apr 22 '13 14:04 bmatzelle

Fantastic - thanks ab1234!

podolsky avatar Apr 23 '13 07:04 podolsky

+1

sjackman avatar May 13 '13 17:05 sjackman

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

beruic avatar Jun 24 '13 09:06 beruic

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

bmatzelle avatar Jun 24 '13 17:06 bmatzelle

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.

beruic avatar Jun 24 '13 19:06 beruic

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.

parisio avatar Oct 19 '13 04:10 parisio

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.

eteeselink avatar May 06 '14 11:05 eteeselink

@eteeselink this is abandonware

ghost avatar May 06 '14 11:05 ghost

@svnpenn with the latest release 3 months old?

eteeselink avatar May 06 '14 11:05 eteeselink

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.

bmatzelle avatar May 06 '14 12:05 bmatzelle

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.

eteeselink avatar May 06 '14 12:05 eteeselink

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

ioleo avatar Aug 06 '15 07:08 ioleo

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

DMcCunney avatar Aug 07 '15 00:08 DMcCunney

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.

mdtdev avatar Mar 14 '16 20:03 mdtdev

What @mdtdev said above is still the case.

alexgorbatchev avatar Jun 02 '17 05:06 alexgorbatchev

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.

heleno avatar Feb 07 '20 18:02 heleno

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.

CoderCowMoo avatar Nov 04 '21 10:11 CoderCowMoo

@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?

despicableMinions avatar Jul 08 '22 03:07 despicableMinions