diff --git a/crates/misc/run-examples/src/main.rs b/crates/misc/run-examples/src/main.rs index 362f9e1774..93c515ff4a 100644 --- a/crates/misc/run-examples/src/main.rs +++ b/crates/misc/run-examples/src/main.rs @@ -89,7 +89,7 @@ fn main() -> anyhow::Result<()> { .arg("ole32.lib") .arg("bcrypt.lib"); if is_dir { - "main.exe".to_string() + "./main.exe".to_string() } else { format!("./{}.exe", example) }