help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spawning autonomous shell commands


From: Hilary
Subject: Spawning autonomous shell commands
Date: Thu, 27 Sep 2012 22:00:59 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:13.0) Gecko/20120604 Thunderbird/13.0

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]