• 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
Re: Questions about launchd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Questions about launchd


  • Subject: Re: Questions about launchd
  • From: Steve Checkoway <email@hidden>
  • Date: Sat, 25 Aug 2007 15:33:38 -0700


On Aug 25, 2007, at 11:51 AM, Jordan K. Hubbard wrote:


On Aug 25, 2007, at 11:41 AM, Finlay Dobbie wrote:

Yes, but we were discussing the fragility of parsing tool output.

OK, well, that's an easy discussion: Don't do that.

On Aug 24, 2007, at 11:17 PM, Terry Lambert wrote:

popen of lsof will work, assuming you use the output format specifiers to prevent it from changing output format on you, or simply look at the found/not fond return value.

The point of forcing you to write wrappers around standard tools instead of doing what the tool does is to ensure you that when the system is updated, you are guaranteed that the tools are updated at the same time that the kernel and other system components are updated, so your code will continue working, even if we change the system interface used by the tool.

Jordan, unless I'm mistaken, you're saying don't do what Terry said to do.


--
Steve Checkoway



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Questions about launchd
      • From: "Jordan K. Hubbard" <email@hidden>
References: 
 >Questions about launchd (From: Michal Taurich <email@hidden>)
 >Re: Questions about launchd (From: Dave Zarzycki <email@hidden>)
 >Re: Questions about launchd (From: Terry Lambert <email@hidden>)
 >Re: Questions about launchd (From: "Finlay Dobbie" <email@hidden>)
 >Re: Questions about launchd (From: Terry Lambert <email@hidden>)
 >Re: Questions about launchd (From: "Finlay Dobbie" <email@hidden>)
 >Re: Questions about launchd (From: "Jordan K. Hubbard" <email@hidden>)
 >Re: Questions about launchd (From: "Finlay Dobbie" <email@hidden>)
 >Re: Questions about launchd (From: "Jordan K. Hubbard" <email@hidden>)
 >Re: Questions about launchd (From: "Finlay Dobbie" <email@hidden>)
 >Re: Questions about launchd (From: "Jordan K. Hubbard" <email@hidden>)

  • Prev by Date: Question about libresolv.
  • Next by Date: Re: Question about libresolv.
  • Previous by thread: Re: Questions about launchd
  • Next by thread: Re: Questions about launchd
  • Index(es):
    • Date
    • Thread