gak / pycallgraph

pycallgraph is a Python module that creates call graphs for Python programs.
GNU General Public License v2.0
1.83k stars 335 forks source link

[Bugfix] Allow spaces in tool path #144

Closed rgom closed 9 years ago

rgom commented 9 years ago

Fix for #85.

When using the following pycallgraph invocation: python c:\Python27\Scripts\pycallgraph graphviz -l "c:\Program Files (x86)\Graphviz2.36\bin\dot.exe" -- scapy_start_profile.py

the tool could not be found. After the fix it's ok to use such paths.

gak commented 9 years ago

Thanks for this. I'll merge but won't close #85 as it needs tests.