<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -59,8 +59,8 @@ describe Rush::Process do
 	end
 
 	it &quot;can kill itself&quot; do
-		system &quot;sleep 30 &amp;&quot;
-		process = Rush::Process.all.detect { |p| p.command == &quot;sleep&quot; }
+		process = Rush.bash(&quot;sleep 30&quot;, :background =&gt; true)
+		process.alive?.should be_true
 		process.kill
 		sleep 0.1
 		process.alive?.should be_false</diff>
      <filename>spec/process_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2226d4e4ba2d6f64a392206749decfeb3e5f80ad</id>
    </parent>
  </parents>
  <author>
    <name>Adam Wiggins</name>
    <email>adam@heroku.com</email>
  </author>
  <url>http://github.com/adamwiggins/rush/commit/2e4e2c6c48ae8abb633683cc1453975d74975c07</url>
  <id>2e4e2c6c48ae8abb633683cc1453975d74975c07</id>
  <committed-date>2008-12-30T20:23:34-08:00</committed-date>
  <authored-date>2008-12-30T20:23:34-08:00</authored-date>
  <message>use bash :background for process kill spec</message>
  <tree>7fa1b1d458a1aa95e7ee45978045a885a3c76093</tree>
  <committer>
    <name>Adam Wiggins</name>
    <email>adam@heroku.com</email>
  </committer>
</commit>
