Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread Brian Inglis
On 2021-02-24 16:50, Brian Inglis wrote: On 2021-02-24 15:41, Duncan Roe wrote: On Wed, Feb 24, 2021 at 04:58:24PM -0500, Eliot Moss wrote: On 2/24/2021 3:48 PM, ASSI wrote: Hamish McIntyre-Bhatty via Cygwin writes: I found recently when trying to save output from a script for later inspectio

Re: Python regression related to unix sockets

2021-02-24 Thread Mark Geisert
Following up to myself: Mark Geisert wrote: Hi Fabian, Fabian Henze via Cygwin wrote: Hi Cygwin users, I noticed a regression in the recent Python packages: Between version 3.6.10-1 and 3.6.12-2, accessing the SSH agent via the paramiko python package broke. When a ssh agent is used, paramiko t

Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread Eliot Moss
On 2/24/2021 6:26 PM, Takashi Yano via Cygwin wrote: > "stdbuf -o L bash ./path/to/script.sh > stdout.log" > "stdbuf -o L bash ./path/to/script.sh | tee stdout.log" Great stuff - thanks guys! And thanks for the correction about line buffering. Best - Eliot Moss -- Problem reports: https:/

Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread Brian Inglis
On 2021-02-24 15:41, Duncan Roe wrote: On Wed, Feb 24, 2021 at 04:58:24PM -0500, Eliot Moss wrote: On 2/24/2021 3:48 PM, ASSI wrote: Hamish McIntyre-Bhatty via Cygwin writes: I found recently when trying to save output from a script for later inspection that "tee" and file redirections seem to

Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread Takashi Yano via Cygwin
On Thu, 25 Feb 2021 09:41:49 +1100 Duncan Roe wrote: > On Wed, Feb 24, 2021 at 04:58:24PM -0500, Eliot Moss wrote: > > On 2/24/2021 3:48 PM, ASSI wrote: > > > Hamish McIntyre-Bhatty via Cygwin writes: > > > > I found recently when trying to save output from a script for later > > > > inspection tha

Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread Duncan Roe
On Wed, Feb 24, 2021 at 04:58:24PM -0500, Eliot Moss wrote: > On 2/24/2021 3:48 PM, ASSI wrote: > > Hamish McIntyre-Bhatty via Cygwin writes: > > > I found recently when trying to save output from a script for later > > > inspection that "tee" and file redirections seem to have massive > > > delays

Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread Eliot Moss
On 2/24/2021 3:48 PM, ASSI wrote: Hamish McIntyre-Bhatty via Cygwin writes: I found recently when trying to save output from a script for later inspection that "tee" and file redirections seem to have massive delays when run in Cygwin - usually nothing is written to file or stdout until after th

Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread Hamish McIntyre-Bhatty via Cygwin
On 24/02/2021 20:48, ASSI wrote: Hamish McIntyre-Bhatty via Cygwin writes: I found recently when trying to save output from a script for later inspection that "tee" and file redirections seem to have massive delays when run in Cygwin - usually nothing is written to file or stdout until after the

Re: Tee and file redirections are very slow to write anything.

2021-02-24 Thread ASSI
Hamish McIntyre-Bhatty via Cygwin writes: > I found recently when trying to save output from a script for later > inspection that "tee" and file redirections seem to have massive > delays when run in Cygwin - usually nothing is written to file or > stdout until after the command has finished - not

Tee and file redirections are very slow to write anything.

2021-02-24 Thread Hamish McIntyre-Bhatty via Cygwin
Hi there, I found recently when trying to save output from a script for later inspection that "tee" and file redirections seem to have massive delays when run in Cygwin - usually nothing is written to file or stdout until after the command has finished - not very helpful. I'm running a bash