how can I find out the return code of a process started with
`start-process'?
--
http://www.asciiribbon.org/
http://tools.ietf.org/html/rfc1855
http://www.caliburn.nl/topposting.html
I find it interesting that an emacs fan like you did not stumble on
this usage despite using it for many years.
Is this true in general for the emacs learning curve - and why ?
Swami Tota Ram Shankar
> On Jul 21, 9:54 am, lee <l...@yun.yagibdah.de> wrote:
>>
>> how can I find out the return code of a process started with
>> `start-process'?
>
> I find it interesting that an emacs fan like you did not stumble on
> this usage despite using it for many years.
How would you know how long I've been using emacs?
> Is this true in general for the emacs learning curve - and why ?
There are probably lots of users who have been using emacs for a long
time without learning everything there is to learn about it. Do you
know everything there is to know about every piece of software you're
using? If you don't, why not? :)
> Hi,
>
> how can I find out the return code of a process started with
> `start-process'?
Nobody knows? Isn't it possible?
Try
process-exit-status is a built-in function in `C source code'.
(process-exit-status PROCESS)
Return the exit status of PROCESS or the signal number that killed it.
If PROCESS has not yet exited or died, return 0.
See the Elisp manual
(elisp)Top:: > *Note Processes:: > Process Information
for more info about processes.
HTH
R'
Not a year passes by without me bumping into a "new" built-in package
(typically one that's been bundled with Emacs since before I started to
help maintain it).
> and why ?
Probably for the same reason that I keep discovering new cheeses, even
though I've been an avid cheese eater for as long as I can remember.
Stefan