[triangle-zpug] Weird platform dependent python error: forking
tbryan at python.net
Fri Jul 14 23:03:35 CEST 2006
On Friday 14 July 2006 11:22, Chris Rossi wrote:
> Hi, I'm observing some weird behavior and have written the following
> test program to demonstrate:
No idea what's going on. Sorry. :)
> ( pid, fd ) = pty.fork()
Is there a reason you're doing it this way?
> Anybody have any idea what's going on here? Is there a better way to
> fork and capture the output of the child process?
Well, do you *have* to pty.fork() for some reason? Why not use the subprocess
module (or one of the older ones it was meant to replace)?
More information about the triangle-zpug