Re: Wait Until Process Completion
Re: Wait Until Process Completion
- Subject: Re: Wait Until Process Completion
- From: KOENIG Yvan <email@hidden>
- Date: Tue, 13 May 2008 14:47:50 +0200
Le 13 mai 2008 à 14:36, Luther Fuller a écrit :
Mmmmmm. Interesting. Thanks.
If I'm reading the responses correctly, then this should work in
both Leopard and Tiger.
repeat
delay 1
try
do shell script "ps -p " & pid
if not (the result contains pid) then error
on error
exit repeat
end try
end repeat
No offense.
why not:
repeat
delay 1
try
do shell script "ps -p " & pid
if not (the result contains pid) then exit repeat
end try
end repeat
Yvan KOENIG (from FRANCE mardi 13 mai 2008 14:47:07)
_______________________________________________
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