I'm just curious, but is there a way to make CocoaDialog to persist between multiple scripts?
This example doesn't work, but I'm wondering if I'm missing something or is it not possible?
BEFORE SCRIPT:
#!/bin/bash
CocoaDialog="/Library/STUFF/CocoaDialog.app/Contents/MacOS/CocoaDialog"
rm -f /tmp/hpipe
mkfifo /tmp/hpipe
$CocoaDialog progressbar --indeterminate --title "Microsoft Office 2016" --text "Installing Office 2016 Updates, please wait..." --float< /tmp/hpipe &
exec 3<> /tmp/hpipe
echo -n Installing Office 2016, please wait... >&3
sleep 5
Install PKG
AFTER SCRIPT:
exec 3>&-
wait
rm -f /tmp/hpipe