JUCE method for un-mounting volumes


#1

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.


#2

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


#3

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