Re: Applescript process id
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