[SVN] Using Executor to process a file

Matt Foster matt.p.foster at gmail.com
Mon Feb 16 12:14:09 UTC 2009


I'm playing with TextMate::Executor.run, trying to use it to write a
command to filter perl scripts through perlcritic.

I've got the obvious:
TextMate::Executor.run(ENV["TM_PERLCRITIC"] || "perlcritic",
"--stern", ENV["TM_FILEPATH"])

But Executor sees the hashbang line in my script, and uses that instead.

Is it possible to disable this selectively? or is there another workaround?

Thanks in advance.

Matt

-- 
Matt Foster | http://hackerific.net



More information about the textmate-dev mailing list