expo osascript -e tell app "system events" to count processes whose name is "simulator
By Rafael Bode at Sep 25 2020