From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Emacs-25: stop-process has no effect on linux Date: Mon, 21 Dec 2015 19:31:51 +0200 Message-ID: <834mfbso6w.fsf@gnu.org> References: <22136.10481.738169.321780@gargle.gargle.HOWL> <838u4nsp5y.fsf@gnu.org> <22136.13211.454551.743528@retriever.mtv.corp.google.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1450719097 20318 80.91.229.3 (21 Dec 2015 17:31:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Dec 2015 17:31:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: raman@google.com (T.V Raman) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 21 18:31:35 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aB4J4-0001wU-R5 for ged-emacs-devel@m.gmane.org; Mon, 21 Dec 2015 18:31:34 +0100 Original-Received: from localhost ([::1]:46502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB4J4-0007dk-7L for ged-emacs-devel@m.gmane.org; Mon, 21 Dec 2015 12:31:34 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB4Iw-0007XL-DI for emacs-devel@gnu.org; Mon, 21 Dec 2015 12:31:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aB4Iq-0004Im-WF for emacs-devel@gnu.org; Mon, 21 Dec 2015 12:31:26 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aB4Iq-0004Ii-TI; Mon, 21 Dec 2015 12:31:20 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1145 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aB4Ip-0006Ti-TK; Mon, 21 Dec 2015 12:31:20 -0500 In-reply-to: <22136.13211.454551.743528@retriever.mtv.corp.google.com> (raman@google.com) 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-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196614 Archived-At: > From: raman@google.com (T.V Raman) > Date: Mon, 21 Dec 2015 09:15:07 -0800 > Cc: raman@google.com, > emacs-devel@gnu.org > > Here is a simple test: > > (setq proc > (let ((process-connection-type nil)); also tried with t > (start-process "play" "Play" "play" ; play is from sox > ))) > (process-status proc) -- run if it worked > (stop-process proc) -- no-op > (delete-process proc) ; kills it > > The same happens if you substitute play with mplayer. Could it be that these two programs catch and ignore SIGTSTP? That's the signal sent by stop-process. Can you stop them with "kill -TSTP" from the shell prompt?