Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ee2048

Browse files
committed
Added a TODO note
1 parent 319adef commit 7ee2048

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/core/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,6 +1113,8 @@ def profile(profileOutputFile=None, imageOutputFile=None):
11131113
logger.info(infoMsg)
11141114

11151115
graphScriptPath = os.path.join(paths.SQLMAP_EXTRAS_PATH, 'gprof2dot', 'gprof2dot.py')
1116+
1117+
# TODO: find the Windows version of Unix command 'dot'
11161118
process = execute('%s %s -f pstats %s | dot -Tpng -o %s' % (sys.executable, graphScriptPath, profileOutputFile, imageOutputFile), shell=True, stdout=None, stderr=PIPE)
11171119
processStderr = process.communicate()[1]
11181120

0 commit comments

Comments
 (0)