Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fixed -f flag on windows

Hugues Devimeux8c7782907390
diff --git a/manim/__main__.py b/manim/__main__.py
index fed9b7827..1cee5c05a 100644
--- a/manim/__main__.py
+++ b/manim/__main__.py
@@ -36,7 +36,7 @@ def open_file_if_needed(file_writer):
for file_path in file_paths:
if current_os == "Windows":
- os.startfile(file_path)
+ os.startfile(os.path.dirname(file_path))
else:
commands = []
if current_os == "Linux":