<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,13 +18,8 @@ Please feel free to contribute to this script and I'll accept any changes for th
 A few things are required for this script to function correctly.
 	* Ruby 1.8.x
 	* rsync 3.0.x
-	* open4 ruby gem
 	* ssh command
 	
-To install the open4 gem run:
-
-	sudo gem install open4
-	
 Rsync on OS X 10.5:
 
 On OS X 10.5 the default rsync is out of date and missing a few used options you may use macports to install the latest.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,9 +1,10 @@
 #!/usr/bin/ruby
 require 'rubygems'
 require 'Logger'
-require 'open4'
 require 'benchmark'
 require 'ping'
+require 'FileUtils'
+require 'open3'
 
 #============================= OPTIONS ==============================#
 # == Options for local machine.
@@ -46,13 +47,13 @@ run_time = Benchmark.realtime do
     raise Exception, &quot;Unable to find remote host (#{SSH_SERVER})&quot; unless Ping.pingecho(SSH_SERVER)
        
     FileUtils.mkdir(&quot;#{EMPTY_DIR}&quot;) unless File.exist?(&quot;#{EMPTY_DIR}&quot;)
-    Open4::popen4(&quot;#{rsync_cleanout_cmd}&quot;) { |pid, stdin, stdout, stderr|
+    Open3::popen3(&quot;#{rsync_cleanout_cmd}&quot;) { |stdin, stdout, stderr|
       tmp_stdout = stdout.read.strip
       tmp_stderr = stderr.read.strip
       logger.info(&quot;#{rsync_cleanout_cmd}\n#{tmp_stdout}&quot;) unless tmp_stdout == ''
       logger.error(&quot;#{rsync_cleanout_cmd}\n#{tmp_stderr}&quot;) unless tmp_stderr == ''
     }
-    Open4::popen4(&quot;#{rsync_cmd}&quot;) { |pid, stdin, stdout, stderr|
+    Open3::popen3(&quot;#{rsync_cmd}&quot;) { |stdin, stdout, stderr|
       tmp_stdout = stdout.read.strip
       tmp_stderr = stderr.read.strip
       logger.info(&quot;#{rsync_cmd}\n#{tmp_stdout}&quot;) unless tmp_stdout == ''</diff>
      <filename>rrsync.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9ab24881480eceec49d4b7c12287a0d6e8f73989</id>
    </parent>
  </parents>
  <author>
    <name>Richard Grundy</name>
    <email>rich@27smiles.com</email>
  </author>
  <url>http://github.com/RichGuk/rrsync/commit/d08a60e2d3f106a17933479a281dfc3264897b04</url>
  <id>d08a60e2d3f106a17933479a281dfc3264897b04</id>
  <committed-date>2008-08-19T05:39:38-07:00</committed-date>
  <authored-date>2008-08-19T05:39:38-07:00</authored-date>
  <message>Removed the need for open4 as it was pointless, using the standard open3.</message>
  <tree>be309e8df6204c878713801db88f6a20fda5491c</tree>
  <committer>
    <name>Richard Grundy</name>
    <email>rich@27smiles.com</email>
  </committer>
</commit>
