lib/notifier/notify_send.rb in notifier-0.5.0 vs lib/notifier/notify_send.rb in notifier-0.5.1
- old
+ new
@@ -7,14 +7,14 @@
end
def notify(options)
command = [
"notify-send", "-i",
- options[:image],
- options[:title],
- options[:message]
+ options[:image].to_s,
+ options[:title].to_s,
+ options[:message].to_s
]
- Thread.new { system(*command) }
+ Thread.new { system(*command) }.join
end
end
end