Re: hdiutil burn
Re: hdiutil burn
- Subject: Re: hdiutil burn
- From: Axel Luttgens <email@hidden>
- Date: Tue, 03 Jan 2006 17:08:28 +0100
Luther Fuller wrote:
Re: hdiutil burn
Thanks for the suggestion. The answer in TN2065 is one of the
most obtuse I've ever seen, but after looking up the meaning of
'&' and '>' in a unix book that's been hiding under a pile of
papers for years, it became clear that I should try ...
"hdiutil burn " &
sourceImage & " -optimizeimage
-testburn &> /dev/null &"
It worked. (But the answer is still
obtuse.)
This is what I wrote some days ago:
As I wrote in my previous email, you could try
to run drutil in the background for burning; that should at least solve
your problem with regards to the script's unresponsiveness when
executing the related "do shell script" command.
If this works, you could then at least be able to check for the burning
process termination.
For example, drutil's "discinfo" verb seems to return a "Media is
busy." string in its output until burning termination.
Of cours, other verbs could provide more valuable info, or even other
commands; some observation/experimentation may prove helpful here
(sorry, I didn't investigate very much...).
The second paragraph was related to the fact that once a shell process
is launched in the background, the "do shell script" command terminates
immediately with no error (unless one has a big problem...).
So, it is needed to resort to other ways for evaluating the (un)success
of the launched command.
HTH,
Axel
|
_______________________________________________
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