Fix up call to spawn

This commit is contained in:
Calen Pennington
2013-04-18 07:18:22 -04:00
parent 6a36d9dba8
commit 3031c1da38

View File

@@ -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"