We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29d1f90 + 18c2b9c commit 87852f0Copy full SHA for 87852f0
.changes/964.json
@@ -0,0 +1,4 @@
1
+{
2
+ "type": "fixed",
3
+ "description": "don't keep stdin open when running containers."
4
+}
src/docker/local.rs
@@ -101,11 +101,8 @@ pub(crate) fn run(
101
]);
102
}
103
104
- if io::Stdin::is_atty() {
105
- docker.arg("-i");
106
- if io::Stdout::is_atty() && io::Stderr::is_atty() {
107
- docker.arg("-t");
108
- }
+ if io::Stdin::is_atty() && io::Stdout::is_atty() && io::Stderr::is_atty() {
+ docker.arg("-t");
109
110
let mut image_name = options.image.name.clone();
111
if options.needs_custom_image() {
0 commit comments