From c7d973406790056451af2af24630f03409a9647e Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Sun, 27 Nov 2022 11:26:38 +0100 Subject: client: don't freeze when bot does not produce output --- planetwars-matchrunner/src/bot_runner.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'planetwars-matchrunner/src/bot_runner.rs') diff --git a/planetwars-matchrunner/src/bot_runner.rs b/planetwars-matchrunner/src/bot_runner.rs index 8597e26..f7c0742 100644 --- a/planetwars-matchrunner/src/bot_runner.rs +++ b/planetwars-matchrunner/src/bot_runner.rs @@ -108,9 +108,9 @@ impl Bot { pub struct BotProcess { #[allow(dead_code)] - child: process::Child, - stdin: process::ChildStdin, - stdout: Lines>, + pub child: process::Child, + pub stdin: process::ChildStdin, + pub stdout: Lines>, } impl BotProcess { -- cgit v1.2.3