X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=1.9 required=5.0	tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Fri, 11 May 2012 12:56:43 +0400
From: Andrey Repin <anrdaemon@freemail.ru>
Reply-To: Andrey Repin <cygwin@cygwin.com>
Message-ID: <1527266445.20120511125643@mtu-net.ru>
To: Corinna Vinschen <cygwin@cygwin.com>
Subject: Re: Cygwin passes through null writes to other software when redirecting standard input/output (i.e. piping)
In-Reply-To: <20120510183833.GC13090@calimero.vinschen.de>
References: <20120427143753.GO25385@calimero.vinschen.de> <025501cd24c6$6a353990$3e9facb0$@motionview3d.com> <4F9B38FB.9030607@dancol.org> <20120428052727.GA23749@ednor.casa.cgf.cx> <4F9BD262.2000403@dancol.org> <4FAABEAE.7000309@tlinx.org> <053b01cd2e18$f3f9ce60$dbed6b20$@motionview3d.com> <20120509201147.GD22015@ednor.casa.cgf.cx> <054d01cd2ec9$e6f4f5d0$b4dee170$@motionview3d.com> <CA+sc5mntrGeSyzu-8Vv8g_gg9nNTH52hzgztrfCO9Qq-q5KvNw@mail.gmail.com> <20120510183833.GC13090@calimero.vinschen.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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

Greetings, Corinna Vinschen!

> That has nothing to do with Cygwin.  This is just how the environment is
> handled in general.  Child processes inherit it from their parent
> processes, regardless whether on Windows or Unix.

Windows have means of notifying running processes about changes in global
environment.
It isn't really reliable, though. Only works, when you're editing environment
from the GUI, AFAIK.


--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 11.05.2012, <12:55>

Sorry for my terrible english...


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

