From dacc05a41b77bf2e86e27ac354db9b047c661a7d Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Tue, 28 Dec 2021 14:57:41 +0100 Subject: refactor workspace code --- planetwars-cli/src/match_runner/bot_runner.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'planetwars-cli/src/match_runner/bot_runner.rs') diff --git a/planetwars-cli/src/match_runner/bot_runner.rs b/planetwars-cli/src/match_runner/bot_runner.rs index 290df07..70fc060 100644 --- a/planetwars-cli/src/match_runner/bot_runner.rs +++ b/planetwars-cli/src/match_runner/bot_runner.rs @@ -1,4 +1,5 @@ use std::io; +use std::path::PathBuf; use std::process::Stdio; use std::sync::Arc; use std::sync::Mutex; @@ -75,7 +76,7 @@ impl LocalBotRunner { #[derive(Debug, Clone)] pub struct Bot { - pub working_dir: String, + pub working_dir: PathBuf, pub argv: Vec, } -- cgit v1.2.3