-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Calling exec-path-from-shell-initialize freezes Spacemacs on FreeBSD #33
Comments
This is almost certainly due to something odd in your .bashrc or other shell startup file which causes it to wait for input. Try temporarily removing those files to see if that helps. |
You can also add |
I was able to reproduce on a fresh install of PC-BSD 10.2. There were no files or customizations of mine just a: chsh -s /usr/local/bin/bash
pkg install editors/emacs
git clone --recursive https://github.com/syl20bnr/spacemacs ~/.emacs.d
emacs Setting
Removing shell configuration files from Running Also, running this line with Finally, running Bash with |
It's definitely odd, but seems platform specific, since this package is widely used and this problem has never previously been reported. You can omit the |
As a stepping stone to removing "-i" from the defaults at some future point, I've committed a change in 63a88bf which will detect whether users are (incorrectly) setting env vars in their shell's interactive startup file, and warn them if so. |
In the meantime, this doesn't seem to be an issue which I can fix directly by modifying |
I filed an Emacs bug for this: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21972. |
Yeah, must be somehow related to a clash between Emacs' TTY or stdout/stdin setup for subprocesses and bash on that platform. |
I have exactly the same problem on FreeBSD 10.1-RELEASE-p24 . |
This isn't really an |
True. Thanks for the fast reply. I suspect the fix may be to only invoke exec-path-from-shell on OS X - as it seems to be problematic on FreeBSD/PCSBD. Is there any particular reason why you wouldn't integrate: ;; (when (memq window-system '(mac ns)) (as suggested for 'other platforms' in the .el file) as the default? - Which other platforms actually need this? Thanks Steve :-) |
@rbarraud If you've run into this with Spacemacs, then ask them not to run it on non-Aqua platforms: syl20bnr/spacemacs#3887, or as a workaround just add |
I've also heard from users that some Linux (and Windows?) set-ups require or benefit from |
Thank you @cubranic that suggestion worked perfectly. Reporting in from FreeBSD 10.3 using Emacs devel 25. |
Running
(exec-path-from-shell-initialize)
on FreeBSD causes Spacemacs to freeze during startup (bug syl20bnr/spacemacs#3887). The startedbash
process seems to be stuck, running at 100% and never returning. The full arguments of the process according tops www
are:The text was updated successfully, but these errors were encountered: