Comment 51 for bug 419501

Revision history for this message
Robert Schroll (rschroll) wrote :

On 06/30/2010 05:14 AM, Julien Cristau wrote:
> From what I can tell the python program in comment 31 appears to open an
> X connection, fork, and then use that X connection from both the child
> and the parent. That can't possibly work.

And yet it does, in Ubuntu < Karmic.

All that the child process is running is (or should be):
    time.sleep(1)
    while True:
        line = raw_input("> ")
        sys.stdout.write("< " + line + '\n')
    os._exit(0)
Though I may be mistaken, none of this appears to use the X connection. Comparison to the code in comment 33 shows that this same code executes just fine in the child process so long as the child process doesn't have the gtk or vte objects. It's certainly possible that there's a problem in GTK, VTE, or their python bindings, but it seems strange to me that this problem was introduced at the same time as a similar one in Qt.