the macOS installers have the --forcequitapps argument, can this also be used for the softwareupdate command?
'/Applications/Install macOS Catalina.app/Contents/Resources/startosinstall' --agreetolicense --forcequitapps
so if I have the 'execute command' softwareupdate -aiR --forcquitapps
will this work for the software update command?
I'm testing a self service policy, with notification popup for computers that have macOS updates pending, so during my first test on a system that needed 11.6.1 and a Safari update installed, the computer did not restart since SELF SERVICE was open, once I quit Self Service the computer restarted and the updates installed.
So if there are multiple applications open then then obviously the restart would still not occur, so would this --forcequitapps work at the end of the softwareupdate -aiR command?