pycallgraph
pycallgraph copied to clipboard
Spaces in filename break in Windows
on windows - this line fails because filename is not quoted - so any spaces in filename break the cmd
cmd = '%(tool)s -T%(format)s -o%(filename)s%(tempname)s' % locals()
e.g. C:\Documents and Settings\User\foo - fails because of spaces around "and"
(via Mark Schafer)
Need to test this in Windows.
Fixed by @rgom but needs testing, so left open.