Running a GUI program haults the calling program (linux)
Cameron Simpson
cs at cskk.id.au
Tue Sep 26 02:37:36 EDT 2017
On 25Sep2017 20:59, Michael Torrie <torriem at gmail.com> wrote:
>On 09/25/2017 06:38 PM, Kryptxy via Python-list wrote:
>> Is there any way that the GUI program is opened, and immediately the
>> control returns to calling program, instead of keeping the terminal
>> busy?
>
>Yes. This is a classic situation where you want to first fork() the
>process, then exec() the new app. There are a few steps to do this
>properly, so google for "python fork exec".
No, subprocess does this stuff for you.
I think the OP's missed some important stuff out.
--
Cameron Simpson <cs at cskk.id.au>
Baseball cards that suck in energy and run e-ink animated displays
- overhead by WIRED at the Intelligent Printing conference Oct2006
More information about the Python-list
mailing list