[SVN] Re: Using Executor to process a file
Alex Ross
tm-alex at rosiba.com
Mon Feb 16 21:25:41 UTC 2009
On Feb 16, 2009, at 6:59 AM, Matt Foster wrote:
> On Mon, Feb 16, 2009 at 1:49 PM, Martin Kühl
> <martin.kuehl at gmail.com> wrote:
>> FWIW, one workaround is using TextMate::Process.run, which is quite
>> well documented in the source (Support/lib/tm/process.rb) and is a
>> lot
>> more flexible than Executor.
>> That said, I've thought about making Executor more flexible myself
>> but
>> haven't written any code to that effect yet.
>
> Thanks for the reply, I'll play with Process::run instead.
>
> I can understand that pulling args etc. out is very useful. I was just
> stung when I used 'perlcritic' as the argument, and it ran 'perl'
> instead.
Hey Matt,
I just added a new optional argument to executor, you can
set :use_hashbang=>false, and it won't override perlcritic.
—Alex
More information about the textmate-dev
mailing list