lib/vagrant-notify/action/start_server.rb in vagrant-notify-0.6.0 vs lib/vagrant-notify/action/start_server.rb in vagrant-notify-0.6.1

- old
+ new

@@ -26,10 +26,10 @@ sender_app = '"' + env[:machine].config.notify.sender_app + '"' sender_params_str = '"' + env[:machine].config.notify.sender_params_str + '"' sender_params_escape = (env[:machine].config.notify.sender_params_escape) ? 1 : 0 if which('ruby') - env[:notify_data][:pid] = Process.spawn("ruby #{dir}/server.rb #{id} #{port} #{bind_ip} #{sender_app} #{sender_params_str} #{sender_params_escape} #{provider_name}") + env[:notify_data][:pid] = Process.spawn("ruby", "#{dir}/server.rb", "#{id}", "#{port}", "#{bind_ip}", "#{sender_app}", "#{sender_params_str}", "#{sender_params_escape}", "#{provider_name}") env[:notify_data][:port] = port sleep 5 Process.detach(env[:notify_data][:pid].to_i) else