• 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: Process app.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process app.


  • Subject: Re: Process app.
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 1 Jul 2008 11:49:19 +0200


Le 1 juil. 08 à 11:24, Толя Макаров a écrit :

Jean-Daniel Dupas.


I
want to know if loginwindow.app is started up at the moment, after
this my program enters a password. Sometimes I enter password myself
and my program should know that loginwindow.app has finished its work.


Makarov Anatolii.


That said, using this snippet with the QA sample code it see "loginwindow" in the output:

int main(int argc, char **argv) {
  size_t procCount = 0;
  kinfo_proc *procList = NULL;
  GetBSDProcessList(&procList, &procCount);
  int i;
  for (i = 0; i < procCount; i++) {
    printf("%s\n", procList[i].kp_proc.p_comm);
  }
  return 0;
}


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

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Process app. (From: Толя Макаров <email@hidden>)

  • Prev by Date: Re: Process app.
  • Next by Date: Re: NSDateComponents question
  • Previous by thread: Re: Process app.
  • Next by thread: Re: Process app.
  • Index(es):
    • Date
    • Thread