X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.4 required=5.0	tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
From: Len Giambrone <Len.Giambrone@intersystems.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
CC: Len Giambrone <Len.Giambrone@intersystems.com>
Date: Tue, 10 May 2011 17:17:59 -0400
Subject: Re: Who's using "CYGWIN=tty" and why?
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Message-Id: <20110510211800.CCBDF9D5A21@mail2.intersystems.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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

This time with a subject; apologies if the first one gets through.

We use windows native jam which spawns any number of cmd, cygwin, or studio=
 processes.
If we spawn it from a Cygwin terminal that doesn't have CYGWIN=3Dtty set, w=
e get:

The handle is invalid.

Every time output goes to the screen.
If we use CYGWIN=3Dtty, we get normal output.

The only way I've figured out how to fix this is with CYGWIN=3Dtty.  If the=
re is a better way,
please enlighten me.


-Len



--
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

