What does the command
do for you? The programme you're using will either be using the same call that eject does, and if it does, then 'eject' will do the same, or uses their own, and if eject works fine, then it indicates a bug.
If a bug, file a report and script a solution using dd, perhaps something like:
echo "Please unmount CD first"
dd if=/dev/scd0 of=/tmp/.scd_copy
echo "Change Disk, hit anykey to continue"
dd if=/tmp/.scd_copy of=/dev/scd0
and run as root, replacing /dev/scd0 for your CDROM drive, should it be different (Essentially an extension of what azc
If not a bug, don't file a report, theres a problem on your system which is going to be a ballache to fix. In which case, use the above code, without the 'eject' and manually eject.