[TxMt] Bug in Python Bundle for "Debug Script in Terminal"

Hans-Jörg Bibiko bibiko at eva.mpg.de
Thu Jun 26 21:06:21 UTC 2008


Hi,


In Python Bundle for "Debug Script in Terminal":

tell application "Terminal"
   activate
   do script with command "$TPY -m pdb $TM_FILEPATH"
end tell

doesn't work for TM_FILEPATHs which contain white spaces.

Better:

tell application "Terminal"
   activate
   do script with command "$TPY -m pdb '$TM_FILEPATH'"
end tell


Cheers,
--Hans



More information about the textmate mailing list