Re: Getting a PID and killing a process
Re: Getting a PID and killing a process
- Subject: Re: Getting a PID and killing a process
- From: Hiram <email@hidden>
- Date: Sun, 17 Mar 2002 03:04:30 +0100
On Sunday, March 17, 2002, at 01:42 , JollyRoger wrote:
kill `ps uwax | grep wget| grep -v grep | awk {'print $2'}`
Thanks! This worked just fine. I had to add a -w option to avoid
killing not only wget but my own app (wgetCocoa) as well, but then it
was done.
I think I should learn more about those commands you used (awk, uwax);
without those, obviously, this kind of thing can't be done.
Hiram
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.