I'm creating a script in python that will open a program then python will wait for that program to close itself before continuing to the next code. Here is my script:
Import subprocess as sp
sp.Popen([r'C:/Folder/folder/a.exe'])
??????
????????
print("test")
The question marks are the things that I don't know.