A better solution is the one offered by the AM below, use the drutil command. This command should unmount the mounted CDROM volume and eject the CDROM. It doesn't matter if a Finder window is currently displaying the contents of the CDROM volumes. Read the drutil man page for dealing with multiple CDROM drives.
In reply to Re^2: How to umount and eject cdrom on MacOSX from Perl?
by eieio
in thread How to umount and eject cdrom on MacOSX from Perl?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |