vegas 0.0.4 → 0.0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/vegas.rb +1 -1
- data/lib/vegas/runner.rb +2 -1
- metadata +1 -1
data/lib/vegas.rb
CHANGED
data/lib/vegas/runner.rb
CHANGED
@@ -46,7 +46,7 @@ module Vegas
|
|
46
46
|
write_url
|
47
47
|
|
48
48
|
begin
|
49
|
-
launch!
|
49
|
+
launch!
|
50
50
|
daemonize! unless options[:foreground]
|
51
51
|
run!
|
52
52
|
rescue RuntimeError => e
|
@@ -151,6 +151,7 @@ module Vegas
|
|
151
151
|
end
|
152
152
|
|
153
153
|
def launch!(specific_url = nil)
|
154
|
+
return if options[:skip_launch]
|
154
155
|
cmd = WINDOWS ? "start" : "sleep 2 && open"
|
155
156
|
system "#{cmd} #{specific_url || url}"
|
156
157
|
end
|