Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!mit-eddie!YALE.ARPA!ram-ashwin From: ram-ashwin@YALE.ARPA (Ashwin Ram) Newsgroups: comp.emacs Subject: Running processes in the background... Message-ID: <8708201342.AA17776@ATHENA.CS.YALE.EDU> Date: Thu, 20-Aug-87 09:42:02 EDT Article-I.D.: ATHENA.8708201342.AA17776 Posted: Thu Aug 20 09:42:02 1987 Date-Received: Sat, 22-Aug-87 10:03:16 EDT Sender: daemon@eddie.MIT.EDU Lines: 16 I need help with the following task. I'd like to be able to start a process in the background, and have some emacs-lisp code executed after it finishes. For example, consider a version of shell-command that returned immediately after creating a background process to run the shell-command, but popped up a window with the results of the shell-command after the command terminated. Calling call-process with buffer = 0 runs the process in the background, but also throws away the output of the process; also, you can't specify lisp code to be executed after the process does terminate. Can someone tell me how to do this? Thanx in advance. -- Ashwin. ARPA: Ram-Ashwin@cs.yale.edu UUCP: {decvax,linus,seismo}!yale!Ram-Ashwin BITNET: Ram@yalecs