I'm making a bash script and I need to run a
asr restore command in it, but it automatically re-mounts the image after it's finished.
This produces a Finder window that could trick someone into thinking the process is completed when it is in fact not completed.
How do I prevent this window from appearing? (And no, I can't use bless because it's a read-only filesystem.)
macOS X El Capitan