I want to open .bat file and then continue the code but python is waiting for the end of file so I need to close the file and then it continue. But I want to open the file and continue with the code and don't close the file. thanks
import os
os.system("scrcpy-console.bat")
print("continue")