From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hilary Newsgroups: gmane.emacs.help Subject: Spawning autonomous shell commands Date: Thu, 27 Sep 2012 22:00:59 +0100 Organization: Often seems an abstract concept Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1348779916 22577 80.91.229.3 (27 Sep 2012 21:05:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Sep 2012 21:05:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 27 23:05:21 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1THLGr-0001Ht-5I for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2012 23:05:21 +0200 Original-Received: from localhost ([::1]:34221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THLGi-0003GN-IC for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Sep 2012 17:05:12 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin2!goblin.stu.neva.ru!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: ecs9OcZuXgt4+sn04+ai9Q.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120604 Thunderbird/13.0 X-Notice: Filtered by postfilter v. 0.8.2 Original-Xref: usenet.stanford.edu gnu.emacs.help:194626 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86962 Archived-At: This may be partly a windoze question. I use this on a windoze box: (defun espeak-region () "Send the region to espeak" (interactive) (shell-command-on-region (region-beginning) (region-end) "espeak -v mb-en1 -p 50 -s 150 --stdin ") ) It works, but it locks up emacs until espeak has finished reading the text. Is there a way of spawning espeak as an autonomous process which can finish in its own time? -- Hilary S