How can I eject a CD from MacOS with Python?
I'm trying to use something like ioctl(fd, CDROMEJECT, 0), but I don't
know how to get the fd referring to the CDROM in the first place.
I've looked into /dev and /Volumes and found nothing related.
Is there any other way to execute the ejection?
No comments:
Post a Comment