aboutsummaryrefslogtreecommitdiff
path: root/planetwars-cli/src/match_runner/bot_runner.rs
diff options
context:
space:
mode:
Diffstat (limited to 'planetwars-cli/src/match_runner/bot_runner.rs')
-rw-r--r--planetwars-cli/src/match_runner/bot_runner.rs3
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>,
}