I use an app A to open an app B made in AI
my problem is A can open several time B.
today it open several instances of B (B play music, so i have twice or more musics played)
So I don't want to open new instance of B but the one which is already open.
How can i prevent B to open twice ?