• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Termination status
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Termination status


  • Subject: Termination status
  • From: Malte Tancred <email@hidden>
  • Date: Fri, 15 Nov 2002 15:19:46 +0100

Sent this message to the list yesterday. I haven't seen it arrive to the list though. Any known problems with the list server? The outgoing queue on our mail server is empty and I haven't received any bounce messages... yet. :-)

Anyway, I wrote:

Hi,

a few days ago I wrote a small document based application that lets you
view the contents of a bom file in an outline view. As I wasn't
interested in learning the binary bom file format I made the document
controller (NSDocument) call /usr/bin/lsbom which produce an output a
lot easier to parse. I noticed however that lsbom always exited 0
(zero) whether or not it succeeded reading the bom file.

Personally I consider this a bug. A command line tool should in my
opinion report success by exiting zero and failure by exiting
<something else>.

Tools that do not follow this guideline are harder to use than tools
that do, simply because there's no way (or more difficult and error
prone ways) for callers to find out if all went well, be it shell
scripts or other programs.

What do you think? Do you consider this a bug worth reporting to Apple?

Thanks,
Malte
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: RE: UndoManager
  • Next by Date: Re: UndoManager
  • Previous by thread: Termination status
  • Next by thread: Re: Termination status
  • Index(es):
    • Date
    • Thread