class Remoting::LocalCommander
Public Instance Methods
do_exec(cmds)
click to toggle source
overrides
# File lib/remoting/local_commander.rb, line 7 def do_exec(cmds) local(cmds) end
local(cmds)
click to toggle source
# File lib/remoting/local_commander.rb, line 11 def local(cmds) runline = cmds.map{|c| "#{c} 2>&1"}.join(";") # puts "[LOCAL] Executing '#{runline}' ..." puts `#{runline}` end