0

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!

Community
  • 1
  • 1
RobVious
  • 12,685
  • 25
  • 99
  • 181
  • Have you tried starting `thin start` three times? – PA. Apr 18 '12 at 15:54
  • yeah; I can't do that from the script because calling "thin start" holds up the script until the process ends, so anything after that (other thin starts) is pretty much unreachable. – RobVious Apr 18 '12 at 19:32

1 Answers1

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

PA.
  • 28,486
  • 9
  • 71
  • 95