lib/remote_table/executor.rb in remote_table-1.1.8 vs lib/remote_table/executor.rb in remote_table-1.1.9

- old
+ new

@@ -4,9 +4,10 @@ require 'posix/spawn' class RemoteTable class Executor include ::Singleton + # we should really be piping things i think def bang(path, cmd) srand # in case this was forked by resque tmp_path = "#{path}.bang.#{rand}" backtick_with_reporting "cat #{::Escape.shell_single_word path} | #{cmd} > #{::Escape.shell_single_word tmp_path}" ::FileUtils.mv tmp_path, path