Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Forking an .rb script (or multi-threading)

Reply
Thread Tools

Forking an .rb script (or multi-threading)

 
 
Joerg Diekmann
Guest
Posts: n/a
 
      02-16-2006
Hi,

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.

Thanks
Joerg

--
Posted via http://www.ruby-forum.com/.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
forking socket server under Windows Ed Perl 0 04-19-2004 07:43 PM
Forking a daemonic Socket listener from a CGI script - browser times out Clyde Ingram Perl Misc 1 12-12-2003 04:11 PM
Forking HTTP Daemon - Problem Matt Stevens Perl 1 12-09-2003 09:38 PM
Forking Server SRam Perl 0 09-15-2003 07:47 AM
Forking server SRam Perl 1 08-21-2003 05:15 PM



Advertisments