• 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
Getting a PID and killing a process (Was: Re: Scripting a command to unix..)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting a PID and killing a process (Was: Re: Scripting a command to unix..)


  • Subject: Getting a PID and killing a process (Was: Re: Scripting a command to unix..)
  • From: Hiram <email@hidden>
  • Date: Sun, 17 Mar 2002 00:10:22 +0100

On Friday, March 15, 2002, at 07:31 , John W Baxter wrote:

do shell script: execute a shell script or command (defined in:
StandardAdditions.osax)

I am looking for a way to use a shell script to get the PID of a faceless process (wget) and then kill it, all from within a script.

It seems..

tell application "wget" to quit

..won't work, and neither does giving the full path to wget. Any help is appreciated.

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.

  • Follow-Ups:
    • Re: Getting a PID and killing a process (Was: Re: Scripting a command to unix..)
      • From: Christopher Nebel <email@hidden>
    • Re: Getting a PID and killing a process
      • From: JollyRoger <email@hidden>
References: 
 >Re: Scripting a command to unix with sudo fun (From: John W Baxter <email@hidden>)

  • Prev by Date: Keychain Scripting for Program Linking doesn't work! (sometimes}
  • Next by Date: Re: theSIMS -- Applescript copy paste from Explorer
  • Previous by thread: Re: Scripting a command to unix with sudo fun
  • Next by thread: Re: Getting a PID and killing a process
  • Index(es):
    • Date
    • Thread