dolt
dolt copied to clipboard
`dolt sql` doesn't open a shell in Git Bash on Windows.
Running dolt sql
in Git Bash installed with Git 2.38.1.windows.1
just hangs. No SQL shell is opened.
Dolt version used wasv0.51.4
.
I dug into this a little and it's weird...
I think this is mostly a problem with git bash itself, the same thing also happens when trying to run the python interactive shell (at least on my machine). python
doesn't work, but python -i
does...
Additionally, it looks like there are multiple executables for git bash (paths are assuming default installation settings)
-
C:\Program Files\Git\git-bash.exe
is the one that linked in the shortcut, and doesn't work with dolt shell -
C:\Program Files\Git\bin\bash.exe
is the one used in Goland's terminal window, and does work with dolt shell
Also, while it may look like it's hanging, certain sql queries actually print something, and others cause it to quit :)
Sources:
- https://stackoverflow.com/questions/32597209/python-not-working-in-the-command-line-of-git-bash
- https://sourceforge.net/p/msys2/tickets/32/
- owning a windows laptop