JUCE method for un-mounting volumes


Hey all.

Is there a delightful JUCE method for un-mounting volumes?
I’d like to have a button that allows you to do this from in-app.


I guess you can call hdiutil using juce::ChildProcess. See https://juce.com/doc/classChildProcess for more details.


…if you happen to run OSX.
I would love to see a platform independent method, especially in connection with File::isOnRemovableDrive()