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

counsel-grep-or-swiper: error code 2 #700

bbigras opened this Issue Oct 4, 2016 · 3 comments


None yet
3 participants

bbigras commented Oct 4, 2016

When I run counsel-grep-or-swiper and type something I get "error code 2".

I have grep installed. Not sure how to debug.

GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.9) of 2016-09-18


This comment has been minimized.

CSRaghunandan commented Oct 4, 2016

I had opened a thread about the same problem a few hours ago. The problem happens when there is a space in the directory name which contains the file in which you are running counsel-grep or counsel-grep-or-swiper. Remove the space and it should work fine


This comment has been minimized.


abo-abo commented Oct 5, 2016

@brunoqc Does that solve your problem?
@CSRaghunandan Thanks, I'll try to make it work for directories with spaces.

@abo-abo abo-abo closed this in db9d7b8 Oct 5, 2016


This comment has been minimized.

bbigras commented Oct 5, 2016

Removing the space did fix the problem and I also don't have the problem with the new version (even if there's a space).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment