From 0cc566892fb34cf74e24a5f78f97fc434528a5ce Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 15 Oct 2026 00:52:41 +0900 Subject: internal/testsuite: disconnect script from stdin The util-linux script program really messes up any terminal attached to stdin. Since the test programs do not take any input, and stdin is a shared resource that cannot be used anyway, this change disconnects it from stdin. Signed-off-by: Ophestra --- internal/testsuite/testsuite.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/testsuite/testsuite.go b/internal/testsuite/testsuite.go index a940435b..82cc23ec 100644 --- a/internal/testsuite/testsuite.go +++ b/internal/testsuite/testsuite.go @@ -496,7 +496,7 @@ func StartHakurei( Credential: cred, } var output strings.Builder - cmd.Stdin, cmd.Stdout, cmd.Stderr = os.Stdin, &output, &output + cmd.Stdout, cmd.Stderr = &output, &output cmd.Env = SessionEnv(dbusEnv) var notify, _notify, _conf, conf, ident, _ident *os.File -- cgit v1.3.1