diff options
author | Peter Hunt <pehunt@redhat.com> | 2019-10-31 10:41:26 -0400 |
---|---|---|
committer | Peter Hunt <pehunt@redhat.com> | 2019-10-31 11:20:12 -0400 |
commit | 1df4dba0a0c335ad68b1c2202b8099cd87aa3d94 (patch) | |
tree | b19dfe0cda86f5248bd6627725a7e86e5381c61d /Dockerfile.fedora | |
parent | 9ba8dae0bfa5a5e894cf80e2ed114f6ca4bceb60 (diff) | |
download | podman-1df4dba0a0c335ad68b1c2202b8099cd87aa3d94.tar.gz podman-1df4dba0a0c335ad68b1c2202b8099cd87aa3d94.tar.bz2 podman-1df4dba0a0c335ad68b1c2202b8099cd87aa3d94.zip |
Switch to bufio Reader for exec streams
There were many situations that made exec act funky with input. pipes didn't work as expected, as well as sending input before the shell opened.
Thinking about it, it seemed as though the issues were because of how os.Stdin buffers (it doesn't). Dropping this input had some weird consequences.
Instead, read from os.Stdin as bufio.Reader, allowing the input to buffer before passing it to the container.
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'Dockerfile.fedora')
0 files changed, 0 insertions, 0 deletions