diff --git a/ompas-gobot-sim/src/platform.rs b/ompas-gobot-sim/src/platform.rs index 906074db..445ca134 100644 --- a/ompas-gobot-sim/src/platform.rs +++ b/ompas-gobot-sim/src/platform.rs @@ -311,7 +311,7 @@ impl PlatformGobotSim { if !sh.path_exists(format!("{}/.import", sh.current_dir().to_str().unwrap())) { print!("Init gobot-sim project in godot..."); let gd_path = self.godot3_path().unwrap(); - cmd!(sh, "{gd_path} -e").quiet().run().unwrap(); + let _ = cmd!(sh, "timeout 7 {gd_path} -e").quiet().run(); println!("Ok!"); } }