all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: herring@lanl.gov
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Process exit status on different platforms
Date: Tue, 23 Feb 2010 21:27:04 +0100	[thread overview]
Message-ID: <e01d8a51002231227o2acad2f0k81ebe4a694bc3cee@mail.gmail.com> (raw)
In-Reply-To: <53744.130.55.118.19.1266956326.squirrel@webmail.lanl.gov>

On Tue, Feb 23, 2010 at 9:18 PM, Davis Herring <herring@lanl.gov> wrote:
> [Sorry this reply is so much delayed; perhaps it will nevertheless be
> useful.]
>
>> Are there any variable that could be used to check if call-process
>> exited with success status?
>
> I don't know of any.
>
>> Is not this return value platform dependent?
>
> Not much.  VMS is the only system I know of that doesn't use the "0 means
> success, and everything else means some kind of failure but there's little
> to no convention" convention.  I think it uses 1 for success and 44 for
> catastrophic failure (with other values for minor problems), but that's
> just from a very little searching.  (It's worth noting, as the glibc
> manual says, that 1 means "successfully found differences" in diff and the
> like, and it means merely "no matches" in grep and the like:
> http://www.gnu.org/software/libc/manual/html_node/Exit-Status.html)


Thanks, at the moment I can't remember exactly why I asked ... eh, yes I do ;-)

I think it will be useful to simplify at least my bug hunting.




      reply	other threads:[~2010-02-23 20:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-07  8:34 Process exit status on different platforms Lennart Borgman
2010-02-23 20:18 ` Davis Herring
2010-02-23 20:27   ` Lennart Borgman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a51002231227o2acad2f0k81ebe4a694bc3cee@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=herring@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.