Mar-26-2021, 07:42 PM
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
Any hint, how to force a process launchen in forground, when the caller script is running as a service?
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

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