pycallgraph icon indicating copy to clipboard operation
pycallgraph copied to clipboard

Spaces in filename break in Windows

Open gak opened this issue 13 years ago • 2 comments

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)

gak avatar Jul 10 '11 06:07 gak

Need to test this in Windows.

gak avatar Sep 14 '13 06:09 gak

Fixed by @rgom but needs testing, so left open.

gak avatar Jun 12 '15 07:06 gak