From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id m0d8H4PuTWRq0gAASxT56A (envelope-from ) for ; Sun, 30 Apr 2023 06:28:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0GT4HYPuTWRQQwAAG6o9tA (envelope-from ) for ; Sun, 30 Apr 2023 06:28:51 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C7CBABA77 for ; Sun, 30 Apr 2023 06:28:50 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psyfN-0004gt-4U; Sun, 30 Apr 2023 00:28:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1psyfL-0004gl-Q2 for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 00:28:03 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psyfI-0004YC-BN for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 00:28:03 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1aad55244b7so6851065ad.2 for ; Sat, 29 Apr 2023 21:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682828877; x=1685420877; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ssXOqSbMfRrOoP85QkOpdPuNK6uoesTRKti1h9+9tqw=; b=h8eNrIX1yUdm0ljruBG+AITNSaCdbs6Cs0SeruMgdEsOAT3SjLj373N2zb2wcThXns UwGXbM9bOimFh7y4U4VRJnCxDECcP8iBKHqX0grlaWNDoRCGR1w3am5hgoD7Szi6cS8B CGD7og+GnwyWAQ2mor4/s/Khpc0CjAAPwyIuVgzcSm65NbH9rbOh9EgFedvnLEKKwO0t Il+D3Y34LyuVLc2ypOuB9Cf4HaBsvNiePob0QXT2PlRyYlt/QZIoE6/2Z0s433D+fxiI n1iK5uYrBHp5L5QBpKALmqs/BYtBRbeke1yJIUHgHB2d4v1nYZvUsWi3YOKA8v9p4d05 vliw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682828877; x=1685420877; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ssXOqSbMfRrOoP85QkOpdPuNK6uoesTRKti1h9+9tqw=; b=DKLznVoYxmhwbZWPAdbjX2hqgMRwuLqDPa7VrsPwtGeNGYIamrDFSEeFe3KV1e10jg P/niN/qchZhDPupqdMcfShpiFrdBwUnsVP34JxSm6dWS6/XKIPkvb52Q4tPrvkCSbVP+ OOij7liqeUd+TegRIP4XC8ldsjjIxj4gvMZt5P2UW/kopOhoBMuNPcF93dKkoP6FvzDB uN4ouV6NyYY7IQLuMibeZZN6rgnOIzaYjy0dRRtrqthlhMA3ibnRRkQX21xDlw0nQ4S0 GPXLe56EzO0SNYm8PPaaNS/xKaImJnhUZd78+Zb2cGtL5utO5bXkecPNt3vWjuCQUDA2 bthA== X-Gm-Message-State: AC+VfDw6/MWJCQeZQaUqhfo5cgI8YB6N6Q9rr0IFwaws755LoasCR2xl lDIK9CgpJrJ2bqWxi9UIMASFfMNwnl1BG8VxobfkGTLL+NGJrMo= X-Google-Smtp-Source: ACHHUZ4rb1TKUZV67uoerrg1g1SOF6BukBjD49nS6ATPK0m6H/PGruld2LTfHvRWKDs8wx8Vpoz/3edQEyjAQ+Et4j4= X-Received: by 2002:a17:902:e803:b0:1a1:bfe8:4fae with SMTP id u3-20020a170902e80300b001a1bfe84faemr11625999plg.43.1682828876823; Sat, 29 Apr 2023 21:27:56 -0700 (PDT) MIME-Version: 1.0 From: stardiviner Date: Sun, 30 Apr 2023 12:27:30 +0800 Message-ID: Subject: [Need Help] Error to evaluate "mpv" command in inline src block To: Org-mode Content-Type: multipart/alternative; boundary="0000000000006bc5d205fa8621fd" Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=numbchild@gmail.com; helo=mail-pl1-x62f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682828931; a=rsa-sha256; cv=none; b=HUAIyea5ftoHMzxnxN7TZqo312BOV7JC59I8JR0Xo0XhA4ACf/+QgVzgtd7fAAnANl0BIk JPnna5/gtTRtwjkfKIfD1mfotEhzVtxIwy0MHoQ1Zog/3MvCpjdkD9WpA71TjMT/dL/69b Bui00tKuSuoD6oOMMBXGGgtsTQw2ugXcysZ8O7WOCj8yGc5WllWLocJYBgXxg1T1t343iD 5AVsKfTFiAJiQww4+nEaGixnZ00jwehF1zlL4ILXrAwzNsK0zA1aH7nyOZpnzeoFf4f0Gu alvDEQMJu1+Kxc9yslwzJ12cd2kR+rzVZ30QjPeNdRBT8pY4Z47z4116EfaE1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=h8eNrIX1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682828931; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ssXOqSbMfRrOoP85QkOpdPuNK6uoesTRKti1h9+9tqw=; b=UNpJLLrj4whBYb+lg7M0/iQD7ufAWmFJ8vnltb4uaUluwCn1i7272CQt82Rrq7Y4FMQSoe vRkXZw+TZP+iyp0gWSS1p0HayJ5HohVybqjT2SUHejkHacU/KgVXBCZwE8GHYqN/EEEZJq uajwkFvaIyv+Z39dfxjTLXxQTE8H+CU+7Jpchlt87mcjz6HW5qF1uXUHCdEOufsuF2RCdp QQzxgZMiHoYLLjBDSLHGVh+RMmI+CyEGxSAX8j0Hf8Xov/wZCED08wYxceiBIH4KBTyc2D s8EAIbO3U1Nc6rIloycNHvBfSAqc+GvLipta7X/0GitmfbS6Afk/FP9G4MW7AA== X-Migadu-Spam-Score: -9.51 X-Spam-Score: -9.51 X-Migadu-Queue-Id: C7CBABA77 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=h8eNrIX1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-TUID: iHh4PkRpmz5H --0000000000006bc5d205fa8621fd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable *** Reproduce and experience log I have Emacs Org mode config like bellowing to auto evaluate inline src block when Org headline cycle expanded. #+begin_src emacs-lisp ;;; auto evaluate inline source block in property "EVAL". (defcustom org-property-eval-keyword "EVAL" "A property keyword for evaluate code." :type 'string :safe #'stringp :group 'org) (add-to-list 'org-default-properties org-property-eval-keyword) (defun org-property-eval-on-cycle-expand (&optional state) "Evaluate Org inline source block in property value on headline cycle expand." (when (memq state '(children subtree)) (if-let ((inline-src-block (org-entry-get nil org-property-eval-keyword nil))) (with-temp-buffer (insert inline-src-block) (goto-char (point-min)) (let* ((context (org-element-context)) (lang (org-element-property :language context)) (type (org-element-type context)) (src-block-info (org-babel-get-src-block-info nil context))) (when (eq type 'inline-src-block) (org-babel-execute-src-block nil src-block-info (pcase lang ("sh" `((:session . ,(make-temp-name " *ob-sh-inline-async (sh) ")) (:async . "yes") (:results . "silent"))) ("shell" `((:session . ,(make-temp-name " *ob-sh-inline-async (shell) ")) (:async . "yes") (:results . "silent"))) ("bash" `((:session . ,(make-temp-name " *ob-sh-inline-async (bash) ")) (:async . "yes") (:results . "silent"))) ("zsh" `((:session . ,(make-temp-name " *ob-sh-inline-async (zsh) ")) (:async . "yes") (:results . "silent"))) (_ '((:results . "none"))))))))))) (add-hook 'org-cycle-hook #'org-property-eval-on-cycle-expand) #+end_src I have example Org file like bellowing. Here is the testing Org content: #+begin_src org ,* =E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80=8B :PROPERTIES: :DATE: [2021-05-13 Thu 20:09] :Douban: https://movie.douban.com/subject/35350794/ :DIR: =E6=9E=95=E5=88=80=E6=AD=8C :EVAL: src_sh{mpv "=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88= =80=E6=AD=8C=E3=80=8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5= =93=BC=E5=94=B1.mp4"} :END: #+end_src When I press Tab key to expand upper headline. I check the inline src block session buffer, here is the output: #+begin_example bash-5.2$ bash-5.2$ PROMPT_COMMAND=3D;PS1=3D"org_babel_sh_prompt> ";PS2=3D org_babel_sh_prompt> echo 'ob_comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545333983' mpv "=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80= =8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5=93=BC=E5=94=B1.mp= 4" echo 'ob_comint_async_shell_end_d1cc7563-be0c-4ed0-a4c2-d1b545333983' ob_comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545333983 org_babel_sh_prompt> =3D[input] No key binding found for key 'c'. [input] No key binding found for key 'h'. [input] No key binding found for key '''. [input] No key binding found for key 'b'. [input] No key binding found for key 'c'. [input] No key binding found for key 'n'. [input] No key binding found for key 'a'. [input] No key binding found for key 'y'. [input] No key binding found for key 'n'. [input] No key binding found for key 'c'. [input] No key binding found for key 'h'. [input] No key binding found for key 'n'. [input] No key binding found for key 'c'. [input] No key binding found for key 'c'. [input] No key binding found for key '-'. [input] No key binding found for key 'b'. [input] No key binding found for key 'c'. [input] No key binding found for key '-'. [input] No key binding found for key '-'. [input] No key binding found for key 'a'. [input] No key binding found for key 'c'. [input] No key binding found for key '-'. [input] No key binding found for key 'b'. [input] No key binding found for key '''. Resuming playback. This behavior can be disabled with --no-resume-playback. Video --vid=3D1 (*) (h264 1920x1080 25.000fps) (+) Audio --aid=3D1 (*) (aac 2ch 48000Hz) AO: [coreaudio] 48000Hz stereo 2ch floatp Mute: yes C-c C-c> Saving state. Exiting... (Quit) org_babel_sh_prompt> echo $SHELL /bin/zsh org_babel_sh_prompt> #+end_example Then I try to replace the "mpv" shell command with another command without need to invoke desktop GUI. Like bellowing Org content: #+begin_src org ,* =E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80=8B :PROPERTIES: :DATE: [2021-05-13 Thu 20:09] :Douban: https://movie.douban.com/subject/35350794/ :DIR: =E6=9E=95=E5=88=80=E6=AD=8C :EVAL: src_sh{sleep 10; echo "done"} :END: #+end_src It evaluated fine. #+begin_example sh-3.2$ sh-3.2$ PROMPT_COMMAND=3D;PS1=3D"org_babel_sh_prompt> ";PS2=3D org_babel_sh_prompt> echo 'ob_comint_async_shell_start_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5' sleep 10; echo "done" echo 'ob_comint_async_shell_end_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5' ob_comint_async_shell_start_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5 org_babel_sh_prompt> done org_babel_sh_prompt> ob_comint_async_shell_end_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5 org_babel_sh_prompt> #+end_example Even I testing using content directly instead of in "EVAL" property like bellowing: #+begin_src org Test src_sh{pwd} {{{results(=3D/Users/stardiviner/Org/Wiki/ACG/Anime/Anime Videos=3D)}}} #+end_src It works fine. But I failed to execute mpv command: #+begin_src org Test src_sh{mpv "=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88=80=E6= =AD=8C=E3=80=8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5=93=BC= =E5=94=B1.mp4"} #+end_src I don't understand where get wrong. And what's the reason. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ --0000000000006bc5d205fa8621fd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
*** Reproduce and experience log

I have Emacs Org m= ode config like bellowing to auto evaluate inline src block when Org headli= ne cycle expanded.

#+begin_src emacs-lisp
;;; auto evaluate inlin= e source block in property "EVAL".

(defcustom org-property= -eval-keyword "EVAL"
=C2=A0 "A property keyword for evalu= ate code."
=C2=A0 :type 'string
=C2=A0 :safe #'stringp=C2=A0 :group 'org)

(add-to-list 'org-default-properties o= rg-property-eval-keyword)

(defun org-property-eval-on-cycle-expand (= &optional state)
=C2=A0 "Evaluate Org inline source block in pr= operty value on headline cycle expand."
=C2=A0 (when (memq state &#= 39;(children subtree))
=C2=A0 =C2=A0 (if-let ((inline-src-block (org-ent= ry-get nil org-property-eval-keyword nil)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = (with-temp-buffer
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (insert inline-src-= block)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (goto-char (point-min))
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (let* ((context (org-element-context))
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lang (org-el= ement-property :language context))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0(type (org-element-type context))
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(src-block-info (org-ba= bel-get-src-block-info nil context)))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 (when (eq type 'inline-src-block)
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 (org-babel-execute-src-block
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0nil src-block-info
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(pcase lang
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("sh" `((:session . = ,(make-temp-name " *ob-sh-inline-async (sh) ")) (:async . "y= es") (:results . "silent")))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("shell" `((:session . ,(make-t= emp-name " *ob-sh-inline-async (shell) ")) (:async . "yes&qu= ot;) (:results . "silent")))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("bash" `((:session . ,(make-temp-= name " *ob-sh-inline-async (bash) ")) (:async . "yes") = (:results . "silent")))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0("zsh" `((:session . ,(make-temp-name &qu= ot; *ob-sh-inline-async (zsh) ")) (:async . "yes") (:results= . "silent")))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0(_ '((:results . "none")))))))))))

(a= dd-hook 'org-cycle-hook #'org-property-eval-on-cycle-expand)
#+e= nd_src

I have example Org file like bellowing.

Here is the te= sting Org content:

#+begin_src org
,* =E3=80=8A=E6=9E=95=E5=88=80= =E6=AD=8C=E3=80=8B
:PROPERTIES:
:DATE: =C2=A0 =C2=A0 [2021-05-13 Thu = 20:09]
:Douban: =C2=A0 https://movie.douban.com/subject/35350794/
:DIR: =C2=A0 =C2=A0= =C2=A0=E6=9E=95=E5=88=80=E6=AD=8C
:EVAL: =C2=A0 =C2=A0 src_sh{mpv "= ;=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80=8BS= E05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5=93=BC=E5=94=B1.mp4&qu= ot;}
:END:
#+end_src

When I press Tab key to expand upper head= line. I check the inline src block session buffer, here is the output:
<= br>#+begin_example
bash-5.2$ bash-5.2$ PROMPT_COMMAND=3D;PS1=3D"org= _babel_sh_prompt> ";PS2=3D
org_babel_sh_prompt> echo 'ob_= comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545333983'
mpv &= quot;=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5=88=80=E6=AD=8C=E3=80= =8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3=E5=93=BC=E5=94=B1.mp= 4"
echo 'ob_comint_async_shell_end_d1cc7563-be0c-4ed0-a4c2-d1b5= 45333983'
ob_comint_async_shell_start_d1cc7563-be0c-4ed0-a4c2-d1b545= 333983
org_babel_sh_prompt> =3D[input] No key binding found for key &= #39;c'.
[input] No key binding found for key 'h'.
[input]= No key binding found for key '''.
[input] No key binding fo= und for key 'b'.
[input] No key binding found for key 'c'= ;.
[input] No key binding found for key 'n'.
[input] No key b= inding found for key 'a'.
[input] No key binding found for key &= #39;y'.
[input] No key binding found for key 'n'.
[input]= No key binding found for key 'c'.
[input] No key binding found = for key 'h'.
[input] No key binding found for key 'n'.[input] No key binding found for key 'c'.
[input] No key bindi= ng found for key 'c'.
[input] No key binding found for key '= -'.
[input] No key binding found for key 'b'.
[input] No = key binding found for key 'c'.
[input] No key binding found for = key '-'.
[input] No key binding found for key '-'.
[i= nput] No key binding found for key 'a'.
[input] No key binding f= ound for key 'c'.
[input] No key binding found for key '-= 9;.
[input] No key binding found for key 'b'.
[input] No key = binding found for key '''.

Resuming playback. This behav= ior can be disabled with --no-resume-playback.

=C2=A0 =C2=A0 =C2=A0V= ideo --vid=3D1 (*) (h264 1920x1080 25.000fps)
=C2=A0(+) Audio --aid=3D1 = (*) (aac 2ch 48000Hz)
AO: [coreaudio] 48000Hz stereo 2ch floatp
Mute:= yes



=C2=A0 C-c C-c>
Saving state.

Exiting... (= Quit)
org_babel_sh_prompt> echo $SHELL
/bin/zsh
org_babel_sh_p= rompt>
#+end_example

Then I try to replace the "mpv"= ; shell command with another command without need to invoke desktop GUI. Li= ke bellowing Org content:

#+begin_src org
,* =E3=80=8A=E6=9E=95= =E5=88=80=E6=AD=8C=E3=80=8B
:PROPERTIES:
:DATE: =C2=A0 =C2=A0 [2021-0= 5-13 Thu 20:09]
:Douban: =C2=A0 https://movie.douban.com/subject/35350794/
:DIR: =C2= =A0 =C2=A0 =C2=A0=E6=9E=95=E5=88=80=E6=AD=8C
:EVAL: =C2=A0 =C2=A0 src_sh= {sleep 10; echo "done"}
:END:
#+end_src

It evaluated= fine.

#+begin_example
sh-3.2$ sh-3.2$ PROMPT_COMMAND=3D;PS1=3D&q= uot;org_babel_sh_prompt> ";PS2=3D
org_babel_sh_prompt> echo &= #39;ob_comint_async_shell_start_ca48d711-c1d3-4ec3-8e9b-072f76fc86d5'sleep 10; echo "done"
echo 'ob_comint_async_shell_end_ca= 48d711-c1d3-4ec3-8e9b-072f76fc86d5'
ob_comint_async_shell_start_ca48= d711-c1d3-4ec3-8e9b-072f76fc86d5
org_babel_sh_prompt> done
org_bab= el_sh_prompt> ob_comint_async_shell_end_ca48d711-c1d3-4ec3-8e9b-072f76fc= 86d5
org_babel_sh_prompt>
#+end_example

Even I testing usi= ng content directly instead of in "EVAL" property like bellowing:=

#+begin_src org
Test src_sh{pwd} {{{results(=3D/Users/stardivine= r/Org/Wiki/ACG/Anime/Anime Videos=3D)}}}
#+end_src

It works fine.=

But I failed to execute mpv command:

#+begin_src org=
Test src_sh{mpv "=E6=9E=95=E5=88=80=E6=AD=8C/=E3=80=8A=E6=9E=95=E5= =88=80=E6=AD=8C=E3=80=8BSE05 =E6=B1=9F=E6=B5=B7=E9=98=94 =E6=AD=8C=E8=B0=A3= =E5=93=BC=E5=94=B1.mp4"}
#+end_src

I don't underst= and where get wrong. And what's the reason.

=
[stardiviner]=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <Hack this world!>=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 GPG key ID: 47C32433
IRC(freeenode): stardiviner = =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitter:=C2=A0 @numbchild
Key fi= ngerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 CB99 B8C4 B8E5 47C3 2433
Bl= og: http://star= diviner.github.io/
--0000000000006bc5d205fa8621fd--