Sha256: e7250bf67e609cc017b6412968e85cf8b414623ae4ce7e370520b4d27e7a45e1
Contents?: true
Size: 519 Bytes
Versions: 2
Compression:
Stored size: 519 Bytes
Contents
require 'autoproj/cli/inspection_tool' module Autoproj module CLI class Exec < InspectionTool def run(cmd, *args) initialize_and_load finalize_setup(Array.new) # Resolve the command using the PATH if present env = ws.full_env if !File.file?(cmd) cmd = env.find_in_path(cmd) || cmd end exec(env.resolved_env, cmd, *args) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
autoproj-2.3.1 | lib/autoproj/cli/exec.rb |
autoproj-2.3.0 | lib/autoproj/cli/exec.rb |