Aug-28-2020, 09:37 PM
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:
but it goes further w/o waiting of closing the xfce4-terminal. How can I make it wait the app closed?
1 |
result = subprocess.run([ "xfce4-terminal" , "-e" , "./etherdump.sh" ], capture_output = True ) |