From 4893f145b35ea1941ba8093f25078ec7d9b6aa10 Mon Sep 17 00:00:00 2001 From: "David G. Folch" Date: Sun, 22 Mar 2026 10:43:46 +0100 Subject: [PATCH] fix(engine)--invalid-validate.sh-path-for-windows-11 --- engine/engine.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/engine.py b/engine/engine.py index d80cda5..6a26039 100644 --- a/engine/engine.py +++ b/engine/engine.py @@ -808,7 +808,7 @@ def deploy_mission(self, level_path, level_name): if setup_script.exists(): console.print("[yellow]Running level setup script...[/yellow]") result = subprocess.run( - ["bash", str(setup_script)], + ["bash", setup_script.name], cwd=str(level_path), capture_output=True, text=True, @@ -861,10 +861,11 @@ def validate_mission(self, level_path, level_name): console.print("\n[yellow]🔍 Validating your solution...[/yellow]\n") validate_script = level_path / "validate.sh" + console.print(f"\n[yellow]{validate_script}[/yellow]\n") # Run validation script from the level directory with proper environment result = subprocess.run( - ["bash", str(validate_script)], + ["bash", validate_script.name], cwd=str(level_path), # CRITICAL: Run from level directory capture_output=True, text=True,