delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/11/22:26:49

X-Recipient: archive-cygwin AT delorie DOT 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 AT mail DOT gmail DOT 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 DOT antliff AT gmail DOT com>
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019