• 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
Solved: running shell in background....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solved: running shell in background....


  • Subject: Solved: running shell in background....
  • From: Harald Schneider <email@hidden>
  • Date: Mon, 03 Sep 2007 07:01:14 +0200

Thanks to Mark (I think your reply went out as a PM, not to the public list), this issue was solved with:

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

It indeed stays attached to the terminal if you only append a &.

-- Harald



Kathryn Tate wrote:
On Sep 2, 2007, at 3:18 AM, Harald Schneider wrote:
Is there a way to start a shell script as a background process ?

In shell language:
at the prompt:

myshellscript &

The key is appending the & sign after the script name and a space.

Kathryn


------------------------------------------------------------------------

 _______________________________________________
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


_______________________________________________
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: 
 >running shell in background.... (From: Kathryn Tate <email@hidden>)

  • Prev by Date: Getting System proxy settings
  • Next by Date: Re: running shell in background....
  • Previous by thread: Re: running shell in background....
  • Next by thread: Getting System proxy settings
  • Index(es):
    • Date
    • Thread