Re: [Python-Dev] Running GUI and "GObject.mainloop.run()" together?

2012-12-26 Thread Ajay Garg
Oops.. I am extremely sorry for posting to Python-Dev (I did not intend to; just a bad habit of "Reply-to-All"). Sorry again. On Thu, Dec 27, 2012 at 1:28 AM, Glyph wrote: > On Dec 25, 2012, at 9:05 AM, Ajay Garg wrote: > > > Also, I think I am now starting to get a h

Re: [Python-Dev] Running GUI and "GObject.mainloop.run()" together?

2012-12-25 Thread Ajay Garg
ume that even in this case, dbus would need to know that the GUI application is ok to listen to dbus-signals? Are the different requirements in these two approaches expected? Or is it an inconsistency with dbus-python? On Tue, Dec 25, 2012 at 10:04 PM, Ajay Garg wrote: > Thanks Simon. > >

Re: [Python-Dev] Running GUI and "GObject.mainloop.run()" together?

2012-12-25 Thread Ajay Garg
Thanks Simon. Thanks for the extensive info; however it needs some hours (if not days :P) to be digested. On Tue, Dec 25, 2012 at 9:24 PM, Simon McVittie < simon.mcvit...@collabora.co.uk> wrote: > On 24/12/12 08:26, Ajay Garg wrote: > > For a recap of the brief history, I have a

Re: [Python-Dev] Is it possible to switch into the context of a child-process, spawned by "subprocess" module?

2012-12-24 Thread Ajay Garg
Terry, Sorry; and thanks for the info. Joaquin, Thanks for the pointer; I will investigate :) On Mon, Dec 24, 2012 at 7:56 PM, Joaquin Sargiotto < joaquinsargio...@gmail.com> wrote: > > El dic 24, 2012 4:59 a.m., "Ajay Garg" escribió: > > > > > Hi all. &g

[Python-Dev] Running GUI and "GObject.mainloop.run()" together?

2012-12-24 Thread Ajay Garg
Hi all. This is another question that arises as part of my efforts to run a GUI application, as well as a dbus-service within the same process. (The other question being at http://mail.python.org/pipermail/python-dev/2012-December/123287.html) For a recap of the brief history, I have a parent pro

[Python-Dev] Is it possible to switch into the context of a child-process, spawned by "subprocess" module?

2012-12-24 Thread Ajay Garg
Hi all. This is more of knowing whether something is possible in the core python architecture; hence the question to this mailing-list :) I have a situation where I am spawning a child process via "subprocess" module. This child process is equivalent to the process that would have been created, i