Re: ssh client is setting O_NONBLOCK on a pipe shared with other processes

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Sun, 15 Sep 2019, Doug Graham wrote:

> > In any case, disabling nonblock for non-ttys is not what we want to do
> 
> Ok, well I don't know what the solution is then. 

you can probably work around it by wrapping your ssh-executing make
commands in a go-between process, e.g.

git [whatever] 2>&1 | cat

This way, the cat process will be owning the stdout file descriptor and
will (presumably) keep it in blocking mode.

-d
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux