Module: Teapot::Commands::Helpers

Included in:
Loader
Defined in:
lib/teapot/commands.rb

Instance Method Summary collapse

Instance Method Details

#run_executable(path, environment) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/teapot/commands.rb', line 30

def run_executable(path, environment)
	environment = environment.flatten
		
	executable = environment[:install_prefix] + path
		
	Commands.run(executable)
end