Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.mac.system > #24168 > unrolled thread

What does "Exited with code: 1" mean?

Started byAlan Browne <alan.browne@FreelunchVideotron.ca>
First post2012-04-21 14:19 -0400
Last post2012-04-21 20:00 -0700
Articles 2 — 2 participants

Back to article view | Back to comp.sys.mac.system


Contents

  What does "Exited with code: 1" mean? Alan Browne <alan.browne@FreelunchVideotron.ca> - 2012-04-21 14:19 -0400
    Re: What does "Exited with code: 1" mean? Don Bruder <dakidd@sonic.net> - 2012-04-21 20:00 -0700

#24168 — What does "Exited with code: 1" mean?

FromAlan Browne <alan.browne@FreelunchVideotron.ca>
Date2012-04-21 14:19 -0400
SubjectWhat does "Exited with code: 1" mean?
Message-ID<XIqdnegDhuneZw_SnZ2dnUVZ_sidnZ2d@giganews.com>
Searching the web I see this mentioned a lot but no underlying cause.

 From console:

2012-04-21 1:51:31.598 PM com.apple.launchd.peruser.501: 
([0x0-0x36e36e].com.Google.GoogleEarthPlus[9877]) Exited with code: 1

(The app started with no issue immediately afterwards).

-- 
"I was gratified to be able to answer promptly, and I did.
  I said I didn't know."
                           -Samuel Clemens.

[toc] | [next] | [standalone]


#24184

FromDon Bruder <dakidd@sonic.net>
Date2012-04-21 20:00 -0700
Message-ID<jmvs7v$3pg$1@dont-email.me>
In reply to#24168
In article <XIqdnegDhuneZw_SnZ2dnUVZ_sidnZ2d@giganews.com>,
 Alan Browne <alan.browne@FreelunchVideotron.ca> wrote:

> Searching the web I see this mentioned a lot but no underlying cause.
> 
>  From console:
> 
> 2012-04-21 1:51:31.598 PM com.apple.launchd.peruser.501: 
> ([0x0-0x36e36e].com.Google.GoogleEarthPlus[9877]) Exited with code: 1
> 
> (The app started with no issue immediately afterwards).

In *nix (Which, being a BSD-variant, is effectively what MacOS X is) an 
exit code of "any value other than 0" from a program is a pretty generic 
indication of some sort of error.

What kind of error? Take your best guess. Maybe you were holding your 
mouth wrong when you fired up the program. Maybe a file it needs is 
locked, missing, corrupted, or inaccessible. Maybe the martians have 
landed. Maybe something took too long to respond. Maybe SkyNet has 
become sentient and the nukes have been launched. Maybe (fill in your 
own "maybe")

Aside from the widely-used (but by no means universally observed) *nix 
convention that an exit code of 0 means "Program ended normally", 
there's no standardization - A programmer is free to return whatever 
exit code (or none at all...) (s)he likes when the program shuts down. 
Unless you're the programmer, or a code-to-meaning translation for the 
exact program in question is available, the precise meaning of any 
non-zero exit code you might see from a program is anybody's guess.

-- 
Email shown is deceased. If you would like to contact me by email, please
post something that makes it obvious in this or another group you see me
posting in with a "how to contact you" address, and I'll get back to you. 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.sys.mac.system


csiph-web