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