; twisted-python-boun...@twistedmatrix.com] *On Behalf Of *naman jain
> *Sent:* Tuesday, October 27, 2009 6:36 AM
> *To:* Twisted general discussion
> *Subject:* Re: [Twisted-Python] Regarding Twisted Matrix
>
>
>
> I tried to implement this:
>
> parent_conn, child_conn
m: twisted-python-boun...@twistedmatrix.com
[mailto:twisted-python-boun...@twistedmatrix.com] On Behalf Of naman jain
Sent: Tuesday, October 27, 2009 6:36 AM
To: Twisted general discussion
Subject: Re: [Twisted-Python] Regarding Twisted Matrix
I tried to implement this:
parent_conn, child_conn =
jain
Sent: Tuesday, October 27, 2009 1:45 AM
To: twisted-python@twistedmatrix.com
Subject: [Twisted-Python] Regarding Twisted Matrix
Hi,
I have a client server model in twisted, where the server spawns a thread (
basically a test script in python that runs for about 20 mins)
I want to track the p
Hi Naman,
> I tried to implement this:
>
> parent_conn, child_conn = Pipe()
>
> f = defer.Deferred()
> f = threads.deferToThread(start_test.main_func, SCRIPT_PATH,
> TEMP_OUTPUT_PATH, self.output_name, child_conn)
Do you really want to spawn a thread or a process? Since it seems like
you're tryin
I tried to implement this:
parent_conn, child_conn = Pipe()
f = defer.Deferred()
f = threads.deferToThread(start_test.main_func, SCRIPT_PATH,
TEMP_OUTPUT_PATH, self.output_name, child_conn)
response = parent_conn.recv()
print response //prints like: initialization done
self.transport.write(respo
On Mon, Oct 26, 2009 at 11:44 PM, naman jain wrote:
> Hi,
>
> I have a client server model in twisted, where the server spawns a thread (
> basically a test script in python that runs for about 20 mins)
> I want to track the progress of the thread, and send the progress to the
> client back
>
> So
Hi,
I have a client server model in twisted, where the server spawns a thread (
basically a test script in python that runs for about 20 mins)
I want to track the progress of the thread, and send the progress to the
client back
So, I write something like this in my server:
parent_conn, child_con