On 8/2/06 at 12:26 AM, email@hidden wrote:
>> We don't require any authorization dialogs anywhere (drag across install)
>> and some of our customers are in some, ah, slighly paranoid environments
>> where a third party SUID-root tool would put us at a disadvantage because
>> they'd have to spend resources auditing the tool (and our competitors don't
>> have any such tools to audit). We may have to end up shelling out to ps on
>So, can you not use NSTask or similar mechanism to run ps directly?
By "shelling out" we'd be using popen(/bin/ps ....). This isn't a Cocoa app, so NSTask is out, and
from my limited understanding it appears to me an NSTask() approach would create a new process every
time ps was run as well. I was hoping we could keep from creating new processes just to check on an
existing one. :-)
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