diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2022-11-27 11:26:38 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2022-11-27 11:26:38 +0100 |
commit | c7d973406790056451af2af24630f03409a9647e (patch) | |
tree | c74d458524dd4219c5b0233f4c1af01477fb8fbb /planetwars-matchrunner | |
parent | 2b71ca625ed07697eb8f53d26ec57f92802b46e5 (diff) | |
download | planetwars.dev-c7d973406790056451af2af24630f03409a9647e.tar.xz planetwars.dev-c7d973406790056451af2af24630f03409a9647e.zip |
client: don't freeze when bot does not produce output
Diffstat (limited to 'planetwars-matchrunner')
-rw-r--r-- | planetwars-matchrunner/src/bot_runner.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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<BufReader<process::ChildStdout>>, + pub child: process::Child, + pub stdin: process::ChildStdin, + pub stdout: Lines<BufReader<process::ChildStdout>>, } impl BotProcess { |