From 4eea13630825db4822492648f8c7e0b01cd7a7b0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Wed, 7 Jan 2026 23:17:58 +0900 Subject: [PATCH] internal/pkg: do not connect stdin This introduces external state when verbose. Signed-off-by: Ophestra --- internal/pkg/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/pkg/exec.go b/internal/pkg/exec.go index 8d736b5..c61ddc1 100644 --- a/internal/pkg/exec.go +++ b/internal/pkg/exec.go @@ -281,7 +281,7 @@ func (a *execArtifact) cure(c *CureContext, hostNet bool) (err error) { } z.Uid, z.Gid = (1<<10)-1, (1<<10)-1 if a.msg.IsVerbose() { - z.Stdin, z.Stdout, z.Stderr = os.Stdin, os.Stdout, os.Stderr + z.Stdout, z.Stderr = os.Stdout, os.Stderr } z.Dir, z.Env, z.Path, z.Args = a.dir, a.env, a.path, a.args