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

2010-07-18 Thread Philippe Crave
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 jonnobl...@gmail.com

 The subprocess module?

 On 17 July 2010 19:58, Philippe Crave philippe.cr...@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    p...@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

2010-07-18 Thread Philippe Crave
solved using pythonw instead of python


2010/7/18 Philippe Crave philippe.cr...@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 jonnobl...@gmail.com

 The subprocess module?

 On 17 July 2010 19:58, Philippe Crave philippe.cr...@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    p...@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt


___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

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

2010-07-17 Thread Philippe Crave
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 listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt