X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <AANLkTimFje-2WQ00q99zFS4LP9t8ACKmoBFKAZtM+AA5@mail.gmail.com>
References: <AANLkTimFje-2WQ00q99zFS4LP9t8ACKmoBFKAZtM+AA5@mail.gmail.com>
Date: Fri, 12 Nov 2010 16:26:33 +1300
Message-ID: <AANLkTikgmYd+_F0YsoQeL6KFmnE64nDXmmVN4A=fHrWZ@mail.gmail.com>
Subject: Re: Python: subprocess running rsync causes broken socket in telnetlib
From: David Antliff <david.antliff@gmail.com>
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Fri, Nov 12, 2010 at 16:19, David Antliff wrote:
> Then the script uses subprocess to do something else (the line is
> actually longer than this but I've simplified it to the most basic
> version that exhibits the problem):
>
> =A0 =A0process =3D subprocess.Popen("rsync", stdout=3Dsubprocess.PIPE)


FWIW, this function also exhibits the same problem:

    subprocess.call("rsync")

-- David.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

