• 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: AppleScript. launch executable without waiting for it to terminate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: AppleScript. launch executable without waiting for it to terminate


  • Subject: RE: AppleScript. launch executable without waiting for it to terminate
  • From: "Alex Sheh" <email@hidden>
  • Date: Fri, 19 Jan 2007 18:43:15 -0800
  • Thread-topic: AppleScript. launch executable without waiting for it to terminate

True, thanks for catching that.

-----Original Message-----
From: applescript-users-bounces+asheh=email@hidden [mailto:applescript-users-bounces+asheh=email@hidden] On Behalf Of Matthew Smith
Sent: Friday, January 19, 2007 6:39 PM
To: AppleScript Users
Subject: Re: AppleScript. launch executable without waiting for it to terminate

On 20/01/2007 13:26, "Alex Sheh" <email@hidden> wrote:

> Hi all,
> I would like to write an AppleScript that launches an executable in
> the background, and then returns immediately.  Currently I have the
> following,
>
> do shell script ³/Path/To/myExecutable² &
> (NOTE: myExecutable runs indefinitely waiting for input)
>
> However, even though I specify an ampersand to launch myExecutable in
> the background, my AppleScript hangs waiting for myExecutable to
> terminate.  Is there a way to achieve the described behavior (my
> AppleScript returns immediately)?

Don't you mean:

do shell script "\³/Path/To/myExecutable\² &"

The ampersand has to be part of the string parameter of do shell script.

--
Matthew Smith


 _______________________________________________
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/mailman//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/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • RE: AppleScript. launch executable without waiting for it toterminate
      • From: "Alex Sheh" <email@hidden>
References: 
 >Re: AppleScript. launch executable without waiting for it to terminate (From: Matthew Smith <email@hidden>)

  • Prev by Date: Re: AppleScript. launch executable without waiting for it to terminate
  • Next by Date: RE: AppleScript. launch executable without waiting for it toterminate
  • Previous by thread: Re: AppleScript. launch executable without waiting for it to terminate
  • Next by thread: RE: AppleScript. launch executable without waiting for it toterminate
  • Index(es):
    • Date
    • Thread