bin/earthquake in earthquake-1.0.0 vs bin/earthquake in earthquake-1.0.1
- old
+ new
@@ -31,9 +31,10 @@
print "\e[0m"
end
require 'earthquake'
if command
- Earthquake.invoke(command, options)
+ result = Earthquake.invoke(command, options)
+ result.join if result.is_a?(Thread)
else
Earthquake.start(options)
end