forked from pydot/pydot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: allow path in
prog
, pass os.environ['PATH']
to `subprocess.P…
…open` rm custom path search, because the standard library already provides this facility, and custom code is error prone and less dependable. rm functions: `pydot.__find_executables` `pydot.find_graphviz` use `subprocess.Popen` instead. Passing the current `$PATH` also avoids `shell=True`. As a reminder, explicitly pass `shell=False`. More details given in the rewritten docstring of method `Dot.create`.
- Loading branch information
Showing
1 changed file
with
56 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters