Re: Questions about launchd
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