• 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: Michael Hall <email@hidden>
  • Date: Mon, 30 Jun 2008 18:22:40 -0500


On Jun 30, 2008, at 3:44 PM, Ken Thomases wrote:

More techniques:

Technical Note TN2050: Observing Process Lifetimes Without Polling
http://developer.apple.com/technotes/tn/tn2050.html

Getting off-topic maybe but I did this from java. For example... CmdJHTML: terminated Firefox /Applications/Firefox.app pid = 3932640 CmdJHTML: launched Firefox /Applications/Firefox.app pid = 3.264063e+08

As you can see it is a bit off on getting the pid.
This was a 'real world' example of creating a Cocoa class from java on the fly...


	public CocoaMonitor() {

		if (initsel == nil) {		// Class setup complete?
			if (createClassDefinition("CocoaMonitor","NSObject")) {
				CocoaMonitor_class = getClass(getName());
			}

I liked it enough I added it to my application as a normal 'automation' type function. I was adding things of that sort in at the time.

I'm not familiar enough with loginwindow that I want to test with that though. So it may or may not work there.

А потом будет суп с котом!

Mike Hall        hallmike at att dot net
http://www.geocities.com/mik3hall
http://sourceforge.net/projects/macnative



_______________________________________________

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>)
 >Re: Process app. (From: Jens Alfke <email@hidden>)
 >Re: Process app. (From: Jean-Daniel Dupas <email@hidden>)
 >Re: Process app. (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: iPhone: Flip core animation performance with images in UIButtons
  • Next by Date: Table view tab order problem
  • Previous by thread: Re: Process app.
  • Next by thread: Connecting to non-standard HTTP ports with authorization
  • Index(es):
    • Date
    • Thread