View Single Post
  #2  
Old 10-31-2017, 02:41 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,354
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:

Code:
#!/bin/bash
(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