Re: Subprocess doesn't get stdin sometimes.
Ilya Kazakevich <[email protected]>
| Newsgroups | org.kernel.vger.dash |
|---|---|
| Message-ID | <CAMQsgbQotWyBs+Hg9qACTjffnVcF0XHVb7EsdOdCLPzt6kMPAA@mail.gmail.com> |
> 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 Thank you Herbert, I now see that 0.5.12 reads the whole line instead of bytes. `` read(0, "head -c 2\nab\n", 8192) = 13 ``` I can also confirm that this bug doesn't exist in the latest version built from git. Ilya.