[PyQt] how to launch a pyqt app from another pyqt app

Philippe Crave philippe.crave at gmail.com
Sun Jul 18 08:26:12 BST 2010


solved using pythonw instead of python


2010/7/18 Philippe Crave <philippe.crave at gmail.com>:
> Thanks, almost done!
> I use: subprocess.Popen("python pyro_launcher.py")
>
> it launch correctly my pyqt app that embed a Pyro server.
> I have 2 pyqt app. that's good, but when I quit the first one, it
> kills also pyro_launcher.py.
> I would like the pyro_launcher.py to still be alive.
>
> any idea ?
>
>
> 2010/7/18 Jonathan Noble <jonnobleuk at gmail.com>
>>
>> The subprocess module?
>>
>> On 17 July 2010 19:58, Philippe Crave <philippe.crave at gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I have two pyqt application app1 and app2.
>>> I am trying to launch app2 from app1.
>>> I do not want any parent/child relation.
>>> Both apps could be QMainWindow.
>>>
>>> The idea is that I do not want to start app2 whenvere I start app1.
>>> app2 is a server. app1 checks if the server is live, and launch it if necessary.
>>>
>>> thanks for your help,
>>> Philippe
>>>
>>> _______________________________________________
>>> PyQt mailing list    PyQt at riverbankcomputing.com
>>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>>
>


More information about the PyQt mailing list