'How to block the messages on cmd from the running app on windows python

everyone. I made a script to run the apps on windows automatically as well as to check the status of authentication using python. While running the script, there are some messages from the apps, not from my python script. I want to remove or block these messages from the apps if possible. Thanks. enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source