Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Run an app in a standalone terminal and wait until it's closed
Post: RE: Run an app in a standalone terminal and wait u...

(Aug-29-2020, 09:24 PM)nilamo Wrote: What happens if you run xfce4-terminal from the command line? subprocess.run() DOES wait for the command to finish. So my guess is that the terminal starts up ...
glestwid General Coding Help 2 2,536 Aug-30-2020, 08:14 AM
    Thread: Run an app in a standalone terminal and wait until it's closed
Post: Run an app in a standalone terminal and wait until...

I would like to run an app in a separated terminal from my Python3 script and make the script wait until I close the terminal. I tried to run this code: result = subprocess.run(["xfce4-terminal", "-e"...
glestwid General Coding Help 2 2,536 Aug-28-2020, 09:37 PM
    Thread: How to get program output from subprocess.Popen?
Post: How to get program output from subprocess.Popen?

Hi, I need to run a standalone app from my Python 3.7.3 script in a separate window, wait its completion and after that parse its output in my script. How can I have it done in my Python script?
glestwid General Coding Help 1 2,384 Aug-18-2020, 10:52 PM

User Panel Messages

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