lib/modules/vlad_override.rb in auser-poolparty-0.0.8 vs lib/modules/vlad_override.rb in auser-poolparty-0.0.9

- old
+ new

@@ -1,13 +1,14 @@ require "vlad" -class Rake::RemoteTask < Rake::Task +class Rake::RemoteTask < Rake::Task def run command - cmd = [ssh_cmd, ssh_flags, target_host, command].compact + cmd = [ssh_cmd, ssh_flags, target_host].compact result = [] - warn cmd.join(' ') if $TRACE + commander = cmd.join(" ") << " \"#{command}\"" + warn commander if $TRACE - pid, inn, out, err = popen4(*cmd.join(" ")) + pid, inn, out, err = popen4(commander) inn.sync = true streams = [out, err] out_stream = { out => $stdout, \ No newline at end of file