delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/11/05:05:57

X-Recipient: archive-cygwin AT delorie DOT 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 AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1527266445.20120511125643@mtu-net.ru>
To: Corinna Vinschen <cygwin AT cygwin DOT 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 DOT GO25385 AT calimero DOT vinschen DOT de> <025501cd24c6$6a353990$3e9facb0$@motionview3d.com> <4F9B38FB DOT 9030607 AT dancol DOT org> <20120428052727 DOT GA23749 AT ednor DOT casa DOT cgf DOT cx> <4F9BD262 DOT 2000403 AT dancol DOT org> <4FAABEAE DOT 7000309 AT tlinx DOT org> <053b01cd2e18$f3f9ce60$dbed6b20$@motionview3d.com> <20120509201147 DOT GD22015 AT ednor DOT casa DOT cgf DOT cx> <054d01cd2ec9$e6f4f5d0$b4dee170$@motionview3d.com> <CA+sc5mntrGeSyzu-8Vv8g_gg9nNTH52hzgztrfCO9Qq-q5KvNw AT mail DOT gmail DOT com> <20120510183833 DOT GC13090 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
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

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 AT freemail DOT 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

- Raw text -


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