Forking an .rb script (or multi-threading)
I am using rubyscript2exe on my rails app. tar2ubyscript uses an init.rb
file to launch WEBrick.
I want to modify this init.rb file to launch the browser (to
127.0.0.1:300) as soon as WEBrick has started.
Is there a way to monitor the progress of the output/state of the
script/server.rb command, to launch my browser once it has successfuly
started the server?
Don't know whether this would be possible, or which libraries to look at
... Any ideas would be a huge help.
Posted via http://www.ruby-forum.com/.
|All times are GMT. The time now is 01:49 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.