Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



On 1/19/07 at -0800 Alex Sheh said this

>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)? 


ignoring application responses
	tell application "SomeApp" to launch
end ignoring

JBS
-- 
Never kick a cow chip on a hot day. — Will Rogers
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >AppleScript. launch executable without waiting for it to terminate (From: "Alex Sheh" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.