[SVN] r6483

Alexander John Ross alex.j.ross at gmail.com
Tue Jan 23 00:42:51 UTC 2007


• Added a little helper function `cmd_mate` to scriptmate.rb.  `cmd_mate` accepts a string or a list of strings which are passed directly to Popen3.
Command output is wrapped in HTML and printed on STDOUT.  Use this function
in a tmCommand with “Input: None” and “Output: Show as HTML” to get nicely formatted progressive output from a shell command.

Changed:
U   trunk/Support/lib/scriptmate.rb



More information about the textmate-dev mailing list