-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
crux-open-with silently fails #37
Comments
Dug into this a little more. I see what's happening I think, but I don't understand why this is different behavior on my computer since I assume it's working for others. The behavior with
So clearly emacs is killing evince (the pdf program) for me. This is logical if it's killing a whole process tree and evince is a subprocess, but it does not seem consistent with how Running I will file an emacs bug for this and see what they say, since this doesn't seem specific to |
ОК, thanks for bringing this up. Let me know when you figure out the best course of action. |
@bbatsov I'm out of ideas for the moment. I'm not sure it's an emacs bug, but at the same time I can't set up an environment on my computer in which Plus in your blog post you don't use an async command. Can we just switch to |
OS X. There it works just fine. |
Since the system open command appears to fork immediately there shouldn't be any real performance penalty to doing this. Fixes bbatsov#37
Since the system open command appears to fork immediately there shouldn't be any real performance penalty to doing this. Fixes #37
I'm switching some of my own functions over to crux ones. I was wondering if you knew the answer to this problem I've had with opening files externally.
crux-open-with
does nothing for me in dired on a pdf for example. If I switch thestart-process
line tothen it works fine, meaning something is failing in
start-process
. I did some debugging but wasn't able to find anything. It just seems to silently fail.My version string is
GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.4) of 2016-12-15
If you have any ideas, I'd appreciate it.
xdg-open
works fine from the command line and usingcall-process
as above.By the way, I don't think there is any downside to using
call-process
here, but I'd like to know whystart-process
is failing for me.The text was updated successfully, but these errors were encountered: