mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Added a TODO note
This commit is contained in:
parent
319adef8c4
commit
7ee20480a4
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user