Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Launch Windows Application
#1
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?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Launch Python IDLE Shell from terminal Pavel_47 5 1,242 Feb-17-2023, 02:53 PM
Last Post: Pavel_47
  How to send data from a python application to an external application aditya_rajiv 1 2,181 Jul-26-2021, 06:00 AM
Last Post: ndc85430
Photo Python won`t launch error newbieee 0 1,768 Feb-02-2021, 11:51 PM
Last Post: newbieee
  Launch another python command without waiting for a return. SpongeB0B 13 10,979 Jun-18-2020, 10:45 AM
Last Post: Yoriz
  win32 API: Launch Application to RDP session from background process python script rangeshgupta 0 2,151 May-28-2020, 09:41 PM
Last Post: rangeshgupta
  C:\Windows\System32\appwiz.cpl is not a valid Win32 application Marceepoo 8 5,159 Mar-15-2020, 04:46 AM
Last Post: buran
  error message on program launch DJPY1175 0 1,747 Jun-10-2019, 08:40 AM
Last Post: DJPY1175
  [split] Python won't launch Nikmartin 1 2,321 May-12-2019, 11:58 PM
Last Post: micseydel
  Pyinstaller exe won't launch after crash kainev 0 2,617 May-11-2019, 06:06 PM
Last Post: kainev
  How to launch a program through python script - Mac OS Mojave Aurimas 2 2,822 May-11-2019, 10:20 AM
Last Post: kritesh

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020