X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 988EA384640E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1614248869; bh=l+vcGKAVD1mxj0EE9pYDzuv+JZY8GFe9bgqiZ1Q+wlI=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Qw1ISbFEAYNWue0kqPaBppgOsH0hDowLgSfglM3Xt+vXcRpeO/Svb5muAJitRORIr mNfMBYuIW9Wa2RtcGln/Ax5wIZap8H8GaSmeTySsLiTKIrkd6ws+oyrpkmhpE6afgS gdLL4jos1M0mqNtvlOFj0s/JhqekfTEjY0hRq/6g= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 873B93854816 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 11PAR9j6029540 X-Nifty-SrcIP: [118.243.85.178] Date: Thu, 25 Feb 2021 19:27:10 +0900 To: cygwin AT cygwin DOT com Subject: Re: Tee and file redirections are very slow to write anything. Message-Id: <20210225192710.c12222669e0927e94dc71b3c@nifty.ne.jp> In-Reply-To: References: <87eeh5b39n DOT fsf AT Otto DOT invalid> <49e01de1-f7de-5d60-2996-3c9afb834396 AT cs DOT umass DOT edu> <20210224224149 DOT GM2979 AT dimstar DOT local DOT net> <7bdae030-12c7-b2fa-9386-5e279382637d AT SystematicSw DOT ab DOT ca> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On Thu, 25 Feb 2021 09:51:48 +0000 "Henry S. Thompson wrote: > Hamish McIntyre-Bhatty via Cygwin writes: > > > I'm now thinking it may have been a Python script that was behaving this > > way - I might go and double check in case this isn't what I think it is. > > I have noticed recently (on a Linux box) that Python3.8 logging exhibits > the problem you report, that is, no output until end of job. stdbuf does not take effect for python, however, you can use -u option or setting environment PYTHONUNBUFFERED=1. -- Takashi Yano -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple