in reply to How to umount and eject cdrom on MacOSX from Perl?

man drutil

$ret = `drutil tray eject`; # if you have only one tray

  • Comment on Re: How to umount and eject cdrom on MacOSX from Perl?