I know in Unix if you start the server like this:
rails server &
and after starting the server, you still have the same cmd window available to you. But on Windows this doesn't seem to work. Can I do something similar in Windows?
Maybe this :
start rails server
Your question has also been investigated on SuperUser and ServerFault , with no clear cut answer as far as I can tell. The start
command seems to be the closest thing, if the scenario is that you're hacking away at the command prompt and you need to start something up and have it out of your way.
I am using grails, so not many ideas about ruby.But I regain control using ctrl+c
or ctrl+d
.
Hope that helps!!
Run server with deamon in windows :
rails server -d
or
rails s -d
it will start rails server in background.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.