delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/05/10/17:18:21

X-Recipient: archive-cygwin AT delorie DOT 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 DOT Giambrone AT intersystems DOT com>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: Len Giambrone <Len DOT Giambrone AT intersystems DOT com>
Date: Tue, 10 May 2011 17:17:59 -0400
Subject: Re: Who's using "CYGWIN=tty" and why?
MIME-Version: 1.0
Message-Id: <20110510211800.CCBDF9D5A21@mail2.intersystems.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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

- Raw text -


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