0

I'm able to execute an exe file via command prompt using below line:

process = subprocess.Popen("LogCollector.EXE ")

But the LogCollector.EXE GUI is still visible, Please suggest some method to run this completely in hidden way.

jps
  • 20,041
  • 15
  • 75
  • 79
  • Possible duplicate of [Running a process in pythonw with Popen without a console](https://stackoverflow.com/questions/1813872/running-a-process-in-pythonw-with-popen-without-a-console) – rawwar May 25 '18 at 07:25

1 Answers1

1
import os
os.system('start /MIN notepad.exe');

Use this command in the window, it will run the application and minimize the application. Maybe it will help you

Biplab Malakar
  • 750
  • 6
  • 11