Jatinder Singh
2006-Jul-05 06:12 UTC
[Rails] using show argument of Open4.popen4 win32:open3 module
Hi,
I am trying to start a rails webrick server programmatically. I want the
console for that server to be shown.
I earlier decided on using win32-open3 module as it provides me with
flexibility to keep track of running of processes.
I use following call to start webrick server,
input, out, err, pid = Open4.popen4("ruby homedir/script/server -p
3001",
mode=''t'',show=true)
webrick server does get started but with no console; how do make the console
visible.
The reason I want the console to be up is because I have observed that rails
applications run using console are faster than app''s withpout
console(its a
show stopper for me as programmatically run apps are not running properly.)
Appreciate any help.
Regards,
Jatinder
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060705/4546d65a/attachment.html
