do shell script without blocking?
do shell script without blocking?
- Subject: do shell script without blocking?
- From: Stephen Jonke <email@hidden>
- Date: Wed, 16 Feb 2005 08:08:00 -0500
Is there any way to use do shell script without it blocking until the
script run completes? Putting an & at the end of the command doesn't
help. Nor does using "ignoring application responses". Now, I can tell
some other application to do shell script and ignore that application's
responses and then the script will continue without waiting, but then
the "told" application will be blocked until the script finishes. I.e.
doing this:
ignoring application responses
tell app "Finder"
do shell script "somecommand"
end tell
end ignoring
display dialog "Hello!"
will result in the applescript continuing without waiting and
immediately displays the dialog, but the Finder will be blocked until
the do shell script completes. I want to avoid anything being blocked.
Using the Terminal effectively does this, but ideally I don't want to
have to use the terminal.
Steve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden