• 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: Non blocking "do shell script" ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Non blocking "do shell script" ?


  • Subject: Re: Non blocking "do shell script" ?
  • From: "Mark J. Reed" <email@hidden>
  • Date: Sun, 2 Sep 2007 06:28:26 -0400

On 9/2/07, Harald Schneider <email@hidden> wrote:
> Is there a way to start a shell script as a background process ?

FAQ alert! :)

do shell script "command </dev/null >/dev/null 2>&1 &"

should do the trick.  Replace the second "/dev/null" with the path to
a real file if you want to capture the output.

--
Mark J. Reed <email@hidden>
 _______________________________________________
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: 
 >Non blocking "do shell script" ? (From: Harald Schneider <email@hidden>)

  • Prev by Date: Non blocking "do shell script" ?
  • Next by Date: running shell in background....
  • Previous by thread: Non blocking "do shell script" ?
  • Next by thread: Re: running shell in background....
  • Index(es):
    • Date
    • Thread