* [ISSUE] start-process function exited "xdg-open" process before child process returned.
@ 2021-01-10 12:19 Christopher Miles
0 siblings, 0 replies; only message in thread
From: Christopher Miles @ 2021-01-10 12:19 UTC (permalink / raw)
To: Emacs Help
[-- Attachment #1: Type: text/plain, Size: 1372 bytes --]
I used to have problem on open Org Mode file link with external program.
The detailed check out this mail thread archive:
https://orgmode.org/list/87a717ggsr.fsf@nicolasgoaziou.fr/T/#maaf63fde8eefeb5ebbaa3e6f53bc88db686878ed
And later I found this link:
https://askubuntu.com/questions/646631/emacs-doesnot-work-with-xdg-open
I realized the problem might on Emacs itself. Then I did an test:
#+begin_src emacs-lisp
(let ((cmd (format
"%s %s"
"xdg-open"
(shell-quote-argument
(expand-file-name
"~/Downloads/伦敦底层社会 1,2章.doc")))))
(start-process-shell-command cmd "*org-open-file*" cmd))
(start-process "org-open-file"
" *org-open-file*"
"xdg-open"
(expand-file-name "~/Downloads/伦敦底层社会 1,2章.doc"))
#+end_src
Both of upper code snippet failed.
Can someone explain this problem on ~start-process~ and
~start-process-shell-command~ more detailed?
And is there any solution, or this is a bug?
Thanks for viewing my problem. Regards.
--
[ stardiviner ]
I try to make every word tell the meaning that I want to express.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner, Matrix: stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-10 12:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-10 12:19 [ISSUE] start-process function exited "xdg-open" process before child process returned Christopher Miles
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.