Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Subject: pipe data form windows program to cygwin program
From: bertrand marquis <bertrand.marquis@sysgo.com>
To: cygwin <cygwin@cygwin.com>
Content-Type: text/plain
Organization: SYSGO AG
Message-Id: <1098879666.4197.4.camel@bma.sysgo.com>
Mime-Version: 1.0
Date: 27 Oct 2004 14:21:07 +0200
Content-Transfer-Encoding: 7bit
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on donald.sysgo.com
X-Spam-Level: 
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63
X-AntiVirus: checked by AntiVir MailGate (version: 2.0.1.16; AVE: 6.28.0.11; VDF: 6.28.0.41; host: mailgate.sysgo.de)

Hi,

	I'm writing a program which need to send data to a cygwin program using
a pipe on the stdin (actually data to compress using gzip).

All is working well but at the end of the program when i close the pipe
it seems that gzip doesn't see that the pipe has been closed and so it
stay open.

I kind of think there must be something with windows<->cygwin EOF but i
can't find out what.

Is anyone has an idea ?

thanks

Bertrand



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

