587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
13 lines
454 B
Diff
13 lines
454 B
Diff
diff --git a/src/pydot/core.py b/src/pydot/core.py
|
|
index 26f526b..78c27f5 100644
|
|
--- a/src/pydot/core.py
|
|
+++ b/src/pydot/core.py
|
|
@@ -209,7 +209,7 @@ def call_graphviz(program, arguments, working_dir, **kwargs):
|
|
"SYSTEMROOT": os.environ.get("SYSTEMROOT", ""),
|
|
}
|
|
|
|
- program_with_args = [program] + arguments
|
|
+ program_with_args = [f"@graphviz@/bin/{program}"] + arguments
|
|
|
|
process = subprocess.Popen(
|
|
program_with_args,
|