Forum: Ruby Forking an .rb script (or multi-threading)

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Joerg D. (Guest)
on 2006-02-16 15:14

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 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.

This topic is locked and can not be replied to.