• 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: Do Shell Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Do Shell Script


  • Subject: Re: Do Shell Script
  • From: Doug McNutt <email@hidden>
  • Date: Sat, 12 Sep 2009 08:59:22 -0600

At 10:42 -0400 9/12/09, Mr. Thomas Boardman wrote:
>Basically I am doing a shell script just to set the screen saver as  the desktop back ground. I don't have an exit command after it so how  do I exit the do shell script? I can post the shell command when I get  bac to my Mac right now I am mobile.
>

One way to start a background process and exit is to add an ampersand, &, at the end of a line of script that executes a command requiring a child process.

I donno if AppleScript will honor that. I also don't know how you could ever turn it off. Saving the process ID returned by the & and yet another AppleScript to execute a kill command, perhaps.

--
--> So are we going to celebrate the start of a new decade at the end of this year? Or do the tens start at in January 2011? <--
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Do Shell Script (From: "Mr. Thomas Boardman" <email@hidden>)
 >Re: Do Shell Script (From: "Mark J. Reed" <email@hidden>)
 >Re: Do Shell Script (From: "Mr. Thomas Boardman" <email@hidden>)

  • Prev by Date: Applescript Editor preferences
  • Next by Date: Re: Do Shell Script
  • Previous by thread: Re: Do Shell Script
  • Next by thread: Re: Do Shell Script
  • Index(es):
    • Date
    • Thread