Python Forum
Launch Windows Application - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Launch Windows Application (/thread-33063.html)



Launch Windows Application - OEMS1 - Mar-26-2021

Hallo,

I am using a python script running as a service (intalled with NSSM)
The script is working fine, but I can not start an application like notepad or calc in forground.

I tried. subprocess.popen() and os.system() --> The application apears in the taskmanager as background

So, notepad hidden in background will not work for most of windows users Dodgy

Any hint, how to force a process launchen in forground, when the caller script is running as a service?