Re: hdiutil burn
Re: hdiutil burn
- Subject: Re: hdiutil burn
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 02 Jan 2006 16:41:13 -0800
- Thread-topic: hdiutil burn
On 1/2/06 4:28 PM, "Luther Fuller" <email@hidden> wrote:
> With a little patience, I've found the problem with using the command ...
>
> do shell script "hdiutil burn " & sourceImage & " -optimizeimage "
>
> My application hangs because it's waiting for a response from the
> command and it does not get a response until the burn is completed.
> You can see it happening in Activity Monitor.
>
> So I tried using 'ignoring application responses'. Like this ...
>
> "hdiutil burn " & sourceImage & " -optimizeimage "
> ignoring application responses
> do shell script the result
> end ignoring
>
> It has no effect at all. Same hang. But the disk DID burn correctly!
>
> Anyone have any insight into this?
>
> I hope there's a simple fix. The fix I have in mind is unorthodox,
> but I think it will work.
'ignoring application responses' only operates if you are directing a
command to an _application_ other than the one running the script. 'do shell
script' does not target an application, so it cannot apply there. I think
there might be some way to tell a 'do shell script' to ignore its result by
redirecting it to the error stream or something like that - others here will
know. (It involves adding a redirection to the end of the command.) Perhaps
that might have the same effect of not waiting for the result.
--
Paul Berkowitz
_______________________________________________
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