I used subprocess.popen as follows. The following linter suggestion occurs in vscode
try:
p = subprocess.Popen(
["python", "app.py"]
)
except:
traceback.print_exc()
Consider using 'with' for resource-allocating operationspylint(consider-using-with)
But I don't know where to use 'with'