Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!cse!evax!walt From: Buehring@Intellection.COM (Walt Buehring) Newsgroups: comp.emacs Subject: Re: process exit status Message-ID: Date: 5 Jun 91 05:59:59 GMT References: <1991Jun4.174918.17528@mprgate.mpr.ca> Sender: usenet@cse.uta.edu (USENET Dummy account for GNUS and TheNews) Distribution: comp Organization: Intellection, Inc. Dallas, Texas Lines: 26 In-Reply-To: manderso@mpr.ca's message of 4 Jun 91 17:49:18 GMT ) Buehring@Intellection.COM writes: ) >I need the process exit status before the elisp can continue with ) ) How about... ) ) process-exit-status: ) Return the exit status of PROCESS or the signal number that killed it. ) If PROCESS has not yet exited or died, return 0. I'm aware of the function -- using it requires an argument which is a process object, which you never get access to (to my knowledge) when using 'call-process'. I wanted to use 'call-process' because it's many times simpler than futzing with 'start-process' and all that jazz. Oh well, there appears to be no alternative to using 'start-process' when you want the exit status -- so much for keeping my little elisp function nice and simple. :-( \/\/ Walt Buehring Internet: Buehring@Intellection.COM Intellection, Inc. UUCP: uupsi!intell!buehring 1603 LBJ Freeway, Suite 780 Phone: (214) 620-2100 Dallas, TX 75234 Church of the SubGenius -- Eternal salvation or triple your money back!