View Single Post
Old 10-31-2017, 01:41 PM
dnanian's Avatar
dnanian dnanian is offline
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,469
Send a message via AIM to dnanian
You'd have to write a "on successful completion" shell script that ejected the volume in the background, well after the run finishes. Something like:

(nohup sleep 30;diskutil eject $2) &
(Note I didn't test that and just typed it in, so I could even have the syntax wrong, but hopefully you get the idea.)
--Dave Nanian
Reply With Quote