FROM : Ryan Stevens
DATE : Thu Jan 02 23:07:44 2003
On Thursday, January 2, 2003, at 10:33 AM, Finlay Dobbie wrote:
> On Thursday, January 2, 2003, at 08:54 am, Andrew wrote:
>
>> That will only tell you the PId of your process. You will probably
>> have to
>> use kvm_getprocs and kvm_getargv.
>
> Or sysctl. Unless you're looking for a GUI process, in which case you
> can use -[NSWorkspace launchedApplications]
>
I was going to say that! ;-)
Isn't sysctl the preferred way anyway?
From the man on kvm_getprocs;
>BUGS
> These routines do not belong in the kvm interface.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Thu Jan 02 23:07:44 2003
On Thursday, January 2, 2003, at 10:33 AM, Finlay Dobbie wrote:
> On Thursday, January 2, 2003, at 08:54 am, Andrew wrote:
>
>> That will only tell you the PId of your process. You will probably
>> have to
>> use kvm_getprocs and kvm_getargv.
>
> Or sysctl. Unless you're looking for a GUI process, in which case you
> can use -[NSWorkspace launchedApplications]
>
I was going to say that! ;-)
Isn't sysctl the preferred way anyway?
From the man on kvm_getprocs;
>BUGS
> These routines do not belong in the kvm interface.
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Arthur VIGAN | Dec 31, 18:59 | |
| Robert Tillyard | Dec 31, 20:40 | |
| Cameron Hayne | Jan 2, 06:34 | |
| Andrew | Jan 2, 09:54 | |
| Finlay Dobbie | Jan 2, 19:33 | |
| Ryan Stevens | Jan 2, 23:07 |






Cocoa mail archive

