lib/git_wrapper/commands/shell.rb in git_wrapper-1.0.3 vs lib/git_wrapper/commands/shell.rb in git_wrapper-1.1.0

- old
+ new

@@ -9,9 +9,11 @@ else ruby_execute(command, options) end end + private + def self.ruby_execute(command, options={}) location_folder = options[:chdir] || '.' result = nil Open3.popen3(command, :chdir => location_folder) do |stdin, stdout, stderr, wait_thr| \ No newline at end of file