diff options
author | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-28 14:57:41 +0100 |
---|---|---|
committer | Ilion Beyst <ilion.beyst@gmail.com> | 2021-12-28 14:57:41 +0100 |
commit | dacc05a41b77bf2e86e27ac354db9b047c661a7d (patch) | |
tree | 3d71fa60ff3449f73ec8bb6066ae82733eb46ee4 /planetwars-cli/src/match_runner/bot_runner.rs | |
parent | 5ca8dd4c842ee681ce81a6a7bbd5005cd5b98d3c (diff) | |
download | planetwars.dev-dacc05a41b77bf2e86e27ac354db9b047c661a7d.tar.xz planetwars.dev-dacc05a41b77bf2e86e27ac354db9b047c661a7d.zip |
refactor workspace code
Diffstat (limited to 'planetwars-cli/src/match_runner/bot_runner.rs')
-rw-r--r-- | planetwars-cli/src/match_runner/bot_runner.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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<String>, } |