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