diff --git a/rakefile b/rakefile
index 3b96a2000efa623bccaea179924e6ca9dd286903..87f1e78317b60922e36c9b7bf2768628e09adf72 100644
--- a/rakefile
+++ b/rakefile
@@ -37,7 +37,7 @@ end
 # Runs Process.spawn, and kills the process at the end of the rake process
 # Expects the same arguments as Process.spawn
 def background_process(*command)
-    pid = Process.spawn(*command, :pgroup => true)
+    pid = Process.spawn({}, *command, {:pgroup => true})
 
     at_exit do
         puts "Ending process and children"