Re: Subprocess doesn't get stdin sometimes.

Herbert Xu <[email protected]>
Newsgroups org.kernel.vger.dash
Message-ID <[email protected]>
Ilya Kazakevich <[email protected]> wrote:
> 
> I am not sure if it is a `dash` bug or my scenario isn't correct (it
> works with `bash`, however).

Yes this is a known bug in dash 0.5.12 and prior.  It was fixed
a while ago in the git tree by:

commit 5f094d08c5bcee876191404a4f3dd2d075571215
Author: Herbert Xu <[email protected]>
Date:   Tue Jan 3 14:15:58 2023 +0800

    input: Read standard input byte-wise

Cheers,
-- 
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.