require 'pathname' pn = Pathname.new(__FILE__) opts = ARGV.join(" ") puts `"#{pn.dirname}/.././externals/oclint/bin/#{pn.basename}" #{opts}`