[EMAIL PROTECTED]: > Not sure. I think what's happening is that the second cat subprocess > never gets EOF on its stdin, because there are still processes with an > open file descriptor for the other end of the pipe.
You are right. However, the close_fds technique seems a bit heavy-handed. Well, that's what you get when you try to combine fork and exec into a single call. Marko -- Marko Rauhamaa mailto:[EMAIL PROTECTED] http://pacujo.net/marko/ -- http://mail.python.org/mailman/listinfo/python-list