Starting multiple instances of Thin Server on Wind

2019-09-15 21:29发布

问题:

I'm writing a script to automatically deploy a ruby on rails application in Windows. I have everything automated except for the thin cluster startup; it turns out that daemonizing is not supported in Windows so I cannot use the -servers command when calling thin.

A previous question I posted: Starting a Thin cluster on Windows

I'm now looking for an alternative approach to getting three instances up programatically. Does anyone know how I might be able to accomplish this?

Thanks for your time!

回答1:

start is your friend

read help start and try this

start /b thin start

and read again help start and play with other options