Python Forum
[PyQt] How to open a program with python without freezing
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] How to open a program with python without freezing
#1
Hi, can someone tell me how I can open a program with python without it freezing my program? What I am trying to do is create a program with some quick command buttons that allow me to open other programs or files. The problem is that when ever I open a program it freezes my GUI window until I close the opened program. The only fix I have found is to call explorer then use explorer to open the program or file. This works except for one problem. Explorer opens files with the default program that is registered to open the file with, but I want to be able to choose the program that opens the file. For example, I want to edit a .png file in gimp so I don't want to have the .png file open with photo viewer or paint. How would I get it to open with gimp? So to solve the windo freezing problem I created a new thread to open the programs with and that prevents my GUI window from freezing, but when I open a program the thread then freezes and I can't open any more programs until I close the first one. How do I open programs/files without my program freezing?
Reply


Messages In This Thread
How to open a program with python without freezing - by LavaCreeperKing - Aug-12-2019, 09:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Open a python program from a button Pedroski55 3 5,047 Jul-20-2020, 11:09 PM
Last Post: Pedroski55
  [Tkinter] GUI keeps freezing Fre3k 2 3,623 May-23-2020, 05:41 PM
Last Post: Fre3k
  [Tkinter] How to create a delay for AI without freezing the GUI kom2 8 6,200 May-04-2019, 02:32 PM
Last Post: Yoriz
  Gi module window freezing problem loss 0 2,244 May-05-2018, 04:42 PM
Last Post: loss

Forum Jump:

User Panel Messages

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