• 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: Applescript process id
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript process id


  • Subject: Re: Applescript process id
  • From: jj <email@hidden>
  • Date: Mon, 27 Mar 2006 23:27:06 +0200
  • Thread-topic: Applescript process id

> Jeremy,
>
> This is very interesting theme. Identifying a unix process by name is very
> interesting.
>
> Apple engineers made mistakes in iTunes 5.x installer shell script to kill
> "iTunesHelper" and "iTunes" by name. So they execute it *twice* in iTunes
> 6.x installer :-). It is stupid way.
>
> I think that it is easy to get pid from multiple processes which have same
> name. If we could return the result as list, there would be answer.
>
> But Identiying process by grep is dangerous (like Apple). It returns not
> only "iTunes" but also "iTunes Helper".
>
> "cut" command will be the answer...

If I can, I use to locate processes by path before killing them.


jj

--
http://www.macscripter.net/
http://www.osaxen.com/


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Applescript process id (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: Quark Page Number
  • Next by Date: Re: Quark Page Number
  • Previous by thread: Re: Applescript process id
  • Next by thread: Re: Applescript process id
  • Index(es):
    • Date
    • Thread