[TxMt] open document in another app

Sune Foldager cryo at cyanite.org
Thu Feb 2 15:54:28 UTC 2006


On 02/02/2006, at 2:03, Allan Odgaard wrote:

> ALWAYS quote shell variables! Otherwise the shell does various  
> forms of parsing after expanding it.  So the line should be:
>    open -a Final\ Draft\ 7 "$TM_FILEPATH"

And I would also quote the application name, as less errors tend to  
happen in the long run when doing that, but of course escaping space  
also works.

-- Sune.




More information about the textmate mailing list