bmatzelle / gow

Unix command line utilities installer for Windows.
https://github.com/bmatzelle/gow/wiki
6.57k stars 366 forks source link

bash.exe in Gow 0.7.0 #65

Open fitj opened 11 years ago

fitj commented 11 years ago

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 commented 11 years ago

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

podolsky commented 11 years ago

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 commented 11 years ago

"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 commented 11 years ago

Same issue. Please fix.

yakimant commented 11 years ago

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

gclaramunt commented 11 years ago

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

ab1234 commented 11 years ago

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 commented 11 years ago

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

bmatzelle commented 11 years ago

I wasn't aware of that. Thank you.

podolsky commented 11 years ago

Fantastic - thanks ab1234!

sjackman commented 11 years ago

+1

beruic commented 11 years ago

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

bmatzelle commented 11 years ago

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

beruic commented 11 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

@eteeselink this is abandonware

eteeselink commented 10 years ago

@svnpenn with the latest release 3 months old?

bmatzelle commented 10 years ago

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 commented 10 years ago

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.

ioleo commented 9 years ago

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

DMcCunney commented 9 years ago

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 commented 8 years ago

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 commented 7 years ago

What @mdtdev said above is still the case.

heleno commented 4 years ago

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 commented 2 years ago

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 commented 2 years ago

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