From unknown Fri Jun 13 10:28:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25234: 25.1; call-process vs. start-process and xdg-open Resent-From: Justin Burkett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Dec 2016 18:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25234 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 25234@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.148217286320861 (code B ref -1); Mon, 19 Dec 2016 18:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2016 18:41:03 +0000 Received: from localhost ([127.0.0.1]:47934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJ2ru-0005QP-Oq for submit@debbugs.gnu.org; Mon, 19 Dec 2016 13:41:03 -0500 Received: from eggs.gnu.org ([208.118.235.92]:40629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJ2rt-0005Po-9Q for submit@debbugs.gnu.org; Mon, 19 Dec 2016 13:41:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ2rm-00053O-5j for submit@debbugs.gnu.org; Mon, 19 Dec 2016 13:40:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,HTML_MESSAGE, RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50239) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cJ2rm-00053K-1w for submit@debbugs.gnu.org; Mon, 19 Dec 2016 13:40:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ2rk-00089q-0D for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 13:40:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ2rg-00051i-Ak for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 13:40:52 -0500 Received: from mail-qt0-x22a.google.com ([2607:f8b0:400d:c0d::22a]:35832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cJ2rf-000517-UB for bug-gnu-emacs@gnu.org; Mon, 19 Dec 2016 13:40:48 -0500 Received: by mail-qt0-x22a.google.com with SMTP id c47so155460544qtc.2 for ; Mon, 19 Dec 2016 10:40:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burkett-cc.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=8W4gktDUXG+Z3OLFYPCLYNavvzAq5HE02OedLrHRnGo=; b=DltfrlDYYqboW+IKY6e3oYrK55f6MN3pE+XLBDOFCcmL2MxA1mOnxBCP9Bx5iLNdqf Caup2zj/RN8kVwwugjAARfiQx1yNCg8n9ecpivD1z9yeTkzWaaty3ti0ADCSzxutwkGZ bzXKkPpj8cDjXIRz256n3iB4UysfTSsKRP/+wT/bnjmqsQ+AQcn0s6FiiWcvkvIC+mB9 Hrtq8M2j8PGjIuRvordIkNAoaI7MpJLuKmKlvRAZds/jrSRVLhhlB4OB8xw976rXovv9 Z8OEh1B5czomlXd+0CxikrwKLWESTO6Uy/AQS7c9vjxO9q793inERB+sK9QJS2yK3Rle pHTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=8W4gktDUXG+Z3OLFYPCLYNavvzAq5HE02OedLrHRnGo=; b=jJeO8B60kuiuLPuy0+9kH6oK5gtt2znBGYjggRetNvRgCvzLNQ2ukE4dR0jHFnXDOC hQqcV7Gwle3rchRel0qUQ2gbodBE7CehJJk/C0vzuj59A5XQQuy0q4OYyVjWEMmiKn+8 w5sle2X5rYb8S6ovp5pOz7ETh7oKP0giLnV3slyrwEUS7ZZ096XySYKKxsbSe8AZdrN4 MBLMUoX/VZlMHPQndn6tl5Vj2unJFOEL+miQLojd46j+BcHByxyepghcl1lgIvQQalte kaioh2IGKJqmNreLOc9OpxMVyNA24kuVrT1UkDoEXEZ9Bj96Cr5qlV35u2EJkHQhjzmp wfiA== X-Gm-Message-State: AIkVDXKmhUou2i8Bh4DHmfAcDtX0H66iVqD3Zrdx4fWyepsLDKHgXZ3Z6MMCFZUvv8CXrw== X-Received: by 10.200.43.245 with SMTP id n50mr611186qtn.224.1482172844712; Mon, 19 Dec 2016 10:40:44 -0800 (PST) Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com. [209.85.216.173]) by smtp.gmail.com with ESMTPSA id d84sm11121099qkc.33.2016.12.19.10.40.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Dec 2016 10:40:43 -0800 (PST) Received: by mail-qt0-f173.google.com with SMTP id n6so155696048qtd.1 for ; Mon, 19 Dec 2016 10:40:43 -0800 (PST) X-Received: by 10.200.45.6 with SMTP id n6mr909876qta.220.1482172843342; Mon, 19 Dec 2016 10:40:43 -0800 (PST) MIME-Version: 1.0 From: Justin Burkett Date: Mon, 19 Dec 2016 18:40:32 +0000 X-Gmail-Original-Message-ID: Message-ID: Content-Type: multipart/alternative; boundary=001a1141de84d2e6630544074165 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.5 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) --001a1141de84d2e6630544074165 Content-Type: text/plain; charset=UTF-8 I'm not sure if this is a bug or is intended. Also, I am no expert in this area, so forgive me. Here is what I am seeing. The behavior with `call-process` vs `start-process` is the same as the behavior with `shell-command` vs `async-shell-command`, so I'll use the latter to demonstrate. evince is my default pdf program, and "xdg-open test.pdf" is fine in a shell outside of emacs. 1. If I do `M-! xdg-open test.pdf`, test.pdf opens fine and remains open. 2. If I do `M-& xdg-open test.pdf`, I get a message that "xdg-open test.pdf" finished with no program opening. 3. If I do `M-& xdg-open test.pdf && sleep 3`, the pdf opens for 3 seconds and closes. So clearly emacs is killing evince when the command exits. This is logical if it's killing a whole process tree and evince is a subprocess, but it does not seem consistent with how `xdg-open` works in a shell. Running `xdg-open test.pdf` in a shell does not make evince a subprocess of the shell so killing the shell does not kill evince. Furthermore what's confusing to me is that the start-process version seems to work fine for others, given the way crux-open-with is defined in the crux package, which is on github. See https://github.com/bbatsov/crux/issues/37. In GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.22.4) of 2016-12-15 built on buildvm-30.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11900000 System Description: Fedora release 25 (Twenty Five) Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with- png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: xdg-open test.pdf: finished. previous-line: Beginning of buffer xdg-open test.pdf && sleep 2: finished. Quit (evince:8710): Gtk-WARNING **: Allocating size to EvSidebar 0x55f81e9ec6c0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? (evince:8710): Gtk-WARNING **: Negative content width -5 (allocation 19, extents 12x12) while allocating gadget (node label, owner GtkLabel) Quit xdg-open test.pdf: finished. Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils shell pcomplete comint ansi-color ring time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget- internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 90925 6233) (symbols 48 20244 0) (miscs 40 80 121) (strings 32 15817 4612) (string-bytes 1 465510) (vectors 16 12531) (vector-slots 8 438289 3095) (floats 8 168 197) (intervals 56 275 13) (buffers 976 21)) --001a1141de84d2e6630544074165 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I'm not sure if this is a bug or is inte= nded. Also, I am no expert in
thi= s area, so forgive me.

=
Here is what I am seeing.=C2=A0=C2=A0T= he behavior with `call-process` vs
`start-process` is the same as the behavior with `shell-command` vs
`async-shell-command`, so I'll u= se the latter to demonstrate. evince is
my default pdf program, and "xdg-open test.pdf" is fine in= a shell
outside of emacs.
<= div class=3D"inbox-inbox-" style=3D"color:rgb(92,97,108);font-family:monosp= ace;font-size:13.3333px;width:71ch">
=C2=A0 1. If I do `M-! xdg-open test.pdf`, test.pdf opens fine and = remains
=C2=A0 open.
=C2=A0=C2=A0
=C2=A0 2. If I do `M-& xdg-open test.pdf`, I get a message th= at "xdg-open
=C2=A0 test.pdf= " finished with no program opening.

=C2=A0 3. If I do `M= -& xdg-open test.pdf && sleep 3`, the pdf opens for 3
=C2=A0 seconds and closes.

S= o clearly emacs is killing evince when the command exits. This is
logical if it's killing a whole proces= s tree and evince is a
subprocess,<= /div>
but it does not seem consistent w= ith how `xdg-open` works in a shell.

Running `xdg-open test.p= df` in a shell does not make evince a
subprocess
of the shell so kil= ling the shell does not kill evince.

Furthermore what's c= onfusing to me is that the start-process version
seems to work fine for others, given the way crux-open-with= is defined
in the crux package, = which is on github. See


=


In GNU Emacs 25.1.1= (x86_64-redhat-linux-gnu, GTK+ Version 3.22.4)
=C2=A0of 2016-12-15 built on buildvm-30.phx2.fedoraproject.org
Windowing system distributor 'Fedora Project= ', version 11.0.11900000
Syst= em Description: Fedora release 25 (Twenty Five)

Configured u= sing:
=C2=A0'configure --buil= d=3Dx86_64-redhat-linux-gnu
=C2= =A0--host=3Dx86_64-redhat-linux-gnu --program-prefix=3D
=C2=A0--disable-dependency-tracking --prefix=3D/usr = --exec-prefix=3D/usr
=C2=A0--bind= ir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc
=C2=A0--datadir=3D/usr/share --includedir=3D/usr/inc= lude --libdir=3D/usr/lib64
=C2=A0= --libexecdir=3D/usr/libexec --localstatedir=3D/var
=C2=A0--sharedstatedir=3D/var/lib --mandir=3D/usr/share/m= an
=C2=A0--infodir=3D/usr/share/i= nfo --with-dbus --with-gif --with-jpeg --with-
png
=C2=A0--with-rsvg= --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3
=C2=A0--with-gpm=3Dno --with-xwidgets build_alia= s=3Dx86_64-redhat-linux-gnu
=C2= =A0host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 = -g
=C2=A0-pipe -Wall -Werror=3Dfo= rmat-security -Wp,-D_FORTIFY_SOURCE=3D2
=C2=A0-fexceptions -fstack-protector-strong --param=3Dssp-buffer-siz= e=3D4
=C2=A0-grecord-gcc-switches= -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1
=C2=A0-m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro
=C2=A0PKG_CONFIG_PATH=3D:/usr/lib64= /pkgconfig:/usr/share/pkgconfig'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGI= CK SOUND DBUS GCONF GSETTINGS
NOTIF= Y
ACL LIBSELINUX GNUTLS LIBXML2 F= REETYPE M17N_FLT LIBOTF XFT ZLIB
= TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS

Important settings:
=C2=A0 value of $LC_MONETARY: en_US.= UTF-8
=C2=A0 value of $LC_NUMERIC= : en_US.UTF-8
=C2=A0 value of $LC= _TIME: en_US.UTF-8
=C2=A0 value o= f $LANG: en_US.UTF-8
=C2=A0 value= of $XMODIFIERS: @im=3Dibus
=C2= =A0 locale-coding-system: utf-8-unix

Major mode: Lisp Interac= tion

Minor modes in effect:
=C2=A0 shell-dirtrack-mode: t
=C2=A0 tooltip-mode: t
=C2= =A0 global-eldoc-mode: t
=C2=A0 e= lectric-indent-mode: t
=C2=A0 mou= se-wheel-mode: t
=C2=A0 tool-bar-= mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode: t

Recent mes= sages:
xdg-open test.pdf: finishe= d.
previous-line: Beginning of bu= ffer
xdg-open test.pdf &&= sleep 2: finished.
Quit

(evince:8710): Gtk-WARNING **: Allocating size to EvSidebar
0x55f81e9ec6c0 without calling gtk_widget_g= et_preferred_width/height().
How do= es the code know the size to allocate?

(evince:8710): Gtk-WAR= NING **: Negative content width -5 (allocation
19, extents 12x12) while allocating gadget (node label, owner G= tkLabel)
Quit
xdg-open test.pdf: finished.

Load-path= shadows:
None found.

Features:
(shadow sort mail-e= xtr emacsbug message dired format-spec rfc822 mml
mml-sec password-cache epg epg-config gnus-util mm-decode = mm-bodies
mm-encode mail-parse rf= c2231 mailabbrev gmm-utils mailheader sendmail
rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymen= u
cl-loaddefs pcase cl-lib mail-p= rsvr mail-utils shell pcomplete comint
ansi-color ring time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-typ= e mwheel x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment<= /div>
elisp-mode lisp-mode prog-mode re= gister page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core<= /div>
frame cl-generic cham georgian ut= f-8-lang misc-lang vietnamese tibetan
thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian
slovak czech european ethiopic indian cyrillic chinese charscript=
case-table epa-hook jka-cmpr-hoo= k help simple abbrev minibuffer
c= l-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 fo= rmat env code-pages mule
custom w= idget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-= setting xwidget-
internal
move-toolbar gtk x-toolkit x multi-tty mak= e-network-process emacs)

Memory information:
((conses 16 90925 6233)=
= =C2=A0(symbols 48 20244 0)
=C2=A0(miscs 40 80 121)
=C2=A0(strings 32 15817 46= 12)
=C2=A0(string-bytes 1 465510)
=C2=A0(vectors 16 12531)
=C2=A0(vector-slots= 8 438289 3095)
=C2=A0(floats 8 168 197)
=C2=A0(intervals 56 275 13)
=C2=A0(bu= ffers 976 21))
--001a1141de84d2e6630544074165-- From unknown Fri Jun 13 10:28:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25234: 25.1; call-process vs. start-process and xdg-open Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 19 Dec 2016 20:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25234 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Justin Burkett Cc: 25234@debbugs.gnu.org Received: via spool by 25234-submit@debbugs.gnu.org id=B25234.148217930831090 (code B ref 25234); Mon, 19 Dec 2016 20:29:02 +0000 Received: (at 25234) by debbugs.gnu.org; 19 Dec 2016 20:28:28 +0000 Received: from localhost ([127.0.0.1]:47990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJ4Xs-00085O-6I for submit@debbugs.gnu.org; Mon, 19 Dec 2016 15:28:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJ4Xq-00085B-FK for 25234@debbugs.gnu.org; Mon, 19 Dec 2016 15:28:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cJ4Xk-00061f-8n for 25234@debbugs.gnu.org; Mon, 19 Dec 2016 15:28:21 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cJ4Xf-0005ym-Dh; Mon, 19 Dec 2016 15:28:15 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cJ4Xd-0002gW-Q0; Mon, 19 Dec 2016 15:28:14 -0500 From: Glenn Morris References: X-Spook: president AFSPC Transportation security New World Order X-Ran: ZJ$2|5!_HsTg$^!3Ls4#q[F-"Ox{*qUsg7[d7^_P9=5meN=Qvvotb$&t2zOxTB^X_d-:fJ X-Hue: red X-Attribution: GM Date: Mon, 19 Dec 2016 15:28:13 -0500 In-Reply-To: (Justin Burkett's message of "Mon, 19 Dec 2016 18:40:32 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) The issue (I assume) is that xdg-open creates its new process (evince, whatever) by forking. Then the original xdg-open process exits, which as far as Emacs knows means it is done. See eg https://bugzilla.gnome.org/show_bug.cgi?id=652262 From unknown Fri Jun 13 10:28:21 2025 X-Loop: help-debbugs@gnu.org Subject: bug#25234: 25.1; call-process vs. start-process and xdg-open Resent-From: Justin Burkett Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Dec 2016 16:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25234 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: 25234@debbugs.gnu.org Received: via spool by 25234-submit@debbugs.gnu.org id=B25234.148225313824217 (code B ref 25234); Tue, 20 Dec 2016 16:59:02 +0000 Received: (at 25234) by debbugs.gnu.org; 20 Dec 2016 16:58:58 +0000 Received: from localhost ([127.0.0.1]:49197 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJNkf-0006IW-PW for submit@debbugs.gnu.org; Tue, 20 Dec 2016 11:58:57 -0500 Received: from mail-qt0-f179.google.com ([209.85.216.179]:33092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJNke-0006IG-Gr for 25234@debbugs.gnu.org; Tue, 20 Dec 2016 11:58:56 -0500 Received: by mail-qt0-f179.google.com with SMTP id p16so179991932qta.0 for <25234@debbugs.gnu.org>; Tue, 20 Dec 2016 08:58:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burkett-cc.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1TPtwlra7vBEZb2MuG1dntwtt83Su6r49wnOUxERusg=; b=Kwtng7Nv+oJ+MSGoLK4ISzfUBw7ItF1lbA2a2mVlvi3sfea/o2lwjrAKhZeSPSoJ0T 5jHtE1mArYt5RK+eegkQAqgqDblRvpurjNy6JOu9wTcKXnP+nJi/c0DRXl4ZrKuTgB+0 1yC9777xNuzkdvLW4FDqRAWRXSzyFibglrFXSMEfdr8tDj1SzUoesDxOig4IF35T9LIs 9EZpO4RgAo2INpcXcq1xrWBB88p2SgY+v5JzZj8CFPLQcgYM2s6cpfCKgqr4wqXxI3nj FBN14JnJ3sGdD4C/ElZsqGnXvnaBYUnNr/uWXwgx3L2WcshdR7N3y5xwnD8d4r5axGz8 22Qw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1TPtwlra7vBEZb2MuG1dntwtt83Su6r49wnOUxERusg=; b=RVeZyHYpDJeXi7LDDLFBULu/eHUdnv5uS1hyzn1ks4yMvwPz/uSCdXL7Zn/z/eTfYA Z49YCZn4SuOh2Bk9LmgfoM8gRy71qY7dhB4qkclq8isltLsYfEJQUqq46jMs9NzQurDq auaGDnmvl3PNOfzqImpzpTCAoDX7pCdoJQAvTIaWAcTRcbJwibo1W/904+u3kL3W/8VC brwrZu63DiSelXihtiiw/UP0WFXvzKl1NLmSUsd3GmYmbmG8SHvehsmKa1vefLTTOvJb 0JR+9muG8WYekDv+8M6Ry+zd9soL7BDUB82Rf7oO5v6G0+s4+pGt5IMGfYrUo+ziQquy R/ew== X-Gm-Message-State: AIkVDXKW6yFinz/uPMgDuIRrXocffAeDe/pqy3v5jMJojJ6z/STTbSaLyYgWH46+EHSNWg== X-Received: by 10.200.38.50 with SMTP id u47mr350113qtu.288.1482253130750; Tue, 20 Dec 2016 08:58:50 -0800 (PST) Received: from mail-qt0-f172.google.com (mail-qt0-f172.google.com. [209.85.216.172]) by smtp.gmail.com with ESMTPSA id q3sm13421821qte.41.2016.12.20.08.58.49 for <25234@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Dec 2016 08:58:50 -0800 (PST) Received: by mail-qt0-f172.google.com with SMTP id p16so179991160qta.0 for <25234@debbugs.gnu.org>; Tue, 20 Dec 2016 08:58:49 -0800 (PST) X-Received: by 10.237.60.97 with SMTP id u30mr267965qte.233.1482253129613; Tue, 20 Dec 2016 08:58:49 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Justin Burkett Date: Tue, 20 Dec 2016 16:58:39 +0000 X-Gmail-Original-Message-ID: Message-ID: Content-Type: multipart/alternative; boundary=94eb2c1927da423e6d054419f3cf X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --94eb2c1927da423e6d054419f3cf Content-Type: text/plain; charset=UTF-8 Thank you for the link. That seems to be exactly the issue, so you can close this (or I'll do it when I figure out how). On Mon, Dec 19, 2016 at 3:28 PM Glenn Morris wrote: > > The issue (I assume) is that xdg-open creates its new process (evince, > whatever) by forking. Then the original xdg-open process exits, which as > far as Emacs knows means it is done. > > See eg https://bugzilla.gnome.org/show_bug.cgi?id=652262 > --94eb2c1927da423e6d054419f3cf Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you for the link. That seems to be exactly the issue, so you can clos= e this (or I'll do it when I figure out how).
On Mon, Dec 19, 2016 at 3:28 PM Glenn Morris <rgm@gnu.org> wrote:

The issue (I assume) is that xdg-open creates its new process (evince,
whatever) by forking. Then the original xdg-open process exits, which as far as Emacs knows means it is done.

See eg https://bugzilla.gnom= e.org/show_bug.cgi?id=3D652262
--94eb2c1927da423e6d054419f3cf-- From debbugs-submit-bounces@debbugs.gnu.org Wed Dec 21 15:05:38 2016 Received: (at control) by debbugs.gnu.org; 21 Dec 2016 20:05:38 +0000 Received: from localhost ([127.0.0.1]:50550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJn8r-0005K0-SD for submit@debbugs.gnu.org; Wed, 21 Dec 2016 15:05:38 -0500 Received: from mail-qk0-f174.google.com ([209.85.220.174]:34143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cJn8q-0005Jm-IW for control@debbugs.gnu.org; Wed, 21 Dec 2016 15:05:36 -0500 Received: by mail-qk0-f174.google.com with SMTP id q68so93286709qki.1 for ; Wed, 21 Dec 2016 12:05:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=burkett-cc.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=twnbgtfS8d8W0CzsJZ3C9lzOtxDQazrG+dJekgmgHTI=; b=mqr02VxCi4J2JC4OMJAih8x4XrD6V1jKDQpVDg1fUIq1I37b0royXQg8KPBdmDSvOT O2TNJ5XR1bAEX6/ReXikPPU5MjUnMnLmIfBnmJLcnfa+wXtm6puN0tvqfNdEolOpgjrQ pVC2FuhnfgwoH5IaDRu9eBjWuTaDJY+dm8Ehc55BxelbpPDnpiW5Rf/suI+V0tYdSnQ1 ygFzg6ZSkknPjp3tcKLDGPn4n+8Gc80cAQDgpHITtd94FXJ/90SULhqz6NYID01Y6NsC wXx8wQdX+d/IxNhXZ+LZrefLbVv7K7kvwD72B38fHZ/SNxi3RRMrDOMptwtAyFmSlDVL MKqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=twnbgtfS8d8W0CzsJZ3C9lzOtxDQazrG+dJekgmgHTI=; b=MVe6Qwc5l0uC6j1zhO+zRJRiMOrBtJBddRsoW9H/aVB5NSchWMRKkD4ZYZTdlJ9fKq ayJKl2jfERHjXCo/PZTm/pISGW7dN6f4Vwn2UIYihHOmNvfq45jJUv02048hhPJCuNZx syXmC3Ee70wzHsV8vQ9jmy9JLRC9kTUBp4Ybe8l/zpHZ4zlaSajjIs+5xXLXPLFo5Xat TD4c1OGPXnVMgIBDvdYVD+RH/xL2UWDrF92Ux+cgTilgn5AsEfPWnoOfFVWTLxThMvY1 eTPsbgkbmcc+ILBAkWNwXJ0yXpZ+F4vn1z4KBYJLzDq+3DOQUOHu6+Sj2Qxwlo6WBUby NAgg== X-Gm-Message-State: AIkVDXLZ6aJtomwHXEo6nXSIfoLXrsxin6Je5tThV1m0QogBQ+nsfPfB7d4dLhWgSFw3iw== X-Received: by 10.55.120.6 with SMTP id t6mr6363662qkc.83.1482350730828; Wed, 21 Dec 2016 12:05:30 -0800 (PST) Received: from mail-qt0-f177.google.com (mail-qt0-f177.google.com. [209.85.216.177]) by smtp.gmail.com with ESMTPSA id q62sm12892353qkb.46.2016.12.21.12.05.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Dec 2016 12:05:30 -0800 (PST) Received: by mail-qt0-f177.google.com with SMTP id w33so216141505qtc.3 for ; Wed, 21 Dec 2016 12:05:30 -0800 (PST) X-Received: by 10.200.38.239 with SMTP id 44mr6481148qtp.91.1482350729855; Wed, 21 Dec 2016 12:05:29 -0800 (PST) MIME-Version: 1.0 From: Justin Burkett Date: Wed, 21 Dec 2016 20:05:19 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: closing 25234 To: control@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a113757fcaf8dc2054430ac79 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) --001a113757fcaf8dc2054430ac79 Content-Type: text/plain; charset=UTF-8 close 25234 --001a113757fcaf8dc2054430ac79 Content-Type: text/html; charset=UTF-8
close 25234

--001a113757fcaf8dc2054430ac79--