<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,7 +4,7 @@ module Whenever
 
       def output
         path_required
-        %Q(#{File.join(@path, 'script', 'runner')} -e #{@environment} &quot;#{task}&quot;)
+        %Q(#{File.join(@path, 'script', 'runner')} -e #{@environment} #{task.inspect})
       end
       
     end</diff>
      <filename>lib/job_types/runner.rb</filename>
    </modified>
    <modified>
      <diff>@@ -190,4 +190,20 @@ class OutputRunnerTest &lt; Test::Unit::TestCase
     end
   end
   
-end
\ No newline at end of file
+  context &quot;A runner which makes use of double quotes&quot; do
+    setup do
+      @output = Whenever.cron \
+      &lt;&lt;-file
+        set :path, '/my/path'
+        every 2.hours do
+          runner 'Product.import(&quot;http://example.com/product.xml&quot;)'
+        end
+      file
+    end
+    
+    should &quot;output the runner using the original environmnet&quot; do
+      assert_match two_hours + ' /my/path/script/runner -e production &quot;Product.import(\&quot;http://example.com/product.xml\&quot;)&quot;', @output
+    end
+  end
+  
+end</diff>
      <filename>test/output_runner_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1749bbd0d920d71a65c8aff3f802b332051fd830</id>
    </parent>
  </parents>
  <author>
    <name>Sam Ruby</name>
    <email>rubys@intertwingly.net</email>
  </author>
  <url>http://github.com/rubys/whenever/commit/431ea22dbd10a0a5619a197c474efa662d34ff51</url>
  <id>431ea22dbd10a0a5619a197c474efa662d34ff51</id>
  <committed-date>2009-07-09T07:57:14-07:00</committed-date>
  <authored-date>2009-07-09T07:57:14-07:00</authored-date>
  <message>Fixed a bug involving double quotes and runner</message>
  <tree>7b8ed269a2dd14ace394fbfd5a777183d3d672ed</tree>
  <committer>
    <name>Sam Ruby</name>
    <email>rubys@intertwingly.net</email>
  </committer>
</commit>
