Tim Wintle wrote:
On Thu, 2009-02-19 at 11:50 -0500, Jean-Paul Calderone wrote: ...
(also, i before e *except* after c et cetera). Flip 'em around and
all is well.
Thanks - never was great at speling :-)
I used to be great at spelling until I became a programmer. Programming
rewards consis
On Thu, 2009-02-19 at 11:50 -0500, Jean-Paul Calderone wrote:
> You got server_send and logger_receive backwards
Doh!
> (also, i before e *except* after c et cetera). Flip 'em around and
> all is well.
Thanks - never was great at speling :-)
Tim
--
http://mail.python.org/mailman/listinfo/pyt
On Thu, 19 Feb 2009 16:37:49 +, Tim Wintle
wrote:
Was wondering if someone could point out what the stupid thing I'm doing
wrong is:
{{{
import os, time
def run_multi_proc():
server_send, logger_recieve = os.pipe()
You got server_send and logger_receive backwards (also, i before e *e
Was wondering if someone could point out what the stupid thing I'm doing
wrong is:
{{{
import os, time
def run_multi_proc():
server_send, logger_recieve = os.pipe()
pid = os.fork()
if pid == 0:
# we are the logger
#os.close(server_send)
logger_recieve = os.fdop