site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 8/2/06 at 12:26 AM, wadeslists@mac.com 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 intel boxes...
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. :-) Thanks Jeffrey Johnson Macintosh Development Wavefunction, Inc. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com