Added a TODO note

This commit is contained in:
Bernardo Damele 2010-05-21 13:24:23 +00:00
parent 319adef8c4
commit 7ee20480a4

View File

@ -1113,6 +1113,8 @@ def profile(profileOutputFile=None, imageOutputFile=None):
logger.info(infoMsg)
graphScriptPath = os.path.join(paths.SQLMAP_EXTRAS_PATH, 'gprof2dot', 'gprof2dot.py')
# TODO: find the Windows version of Unix command 'dot'
process = execute('%s %s -f pstats %s | dot -Tpng -o %s' % (sys.executable, graphScriptPath, profileOutputFile, imageOutputFile), shell=True, stdout=None, stderr=PIPE)
processStderr = process.communicate()[1]