[SVN] r9632 (Python, Ruby)

Luke Daley ld at ldaley.com
Tue May 20 11:19:37 UTC 2008


• Update ScriptMate to use new TextMate::Process.run() API.

The previous implementation of scriptmate passed a single string to exec(). This version aims to be safer by passing an array of components that make up the command and as a result not be subject to shell expansion. The Ruby and Python scriptmate implementations either relied upon or catered for shell expansion so they had to be modified.

Changed:
U   trunk/Bundles/Python.tmbundle/Support/PyMate/pymate.rb
U   trunk/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb
U   trunk/Support/lib/scriptmate.rb



More information about the textmate-dev mailing list