Hi,
I have a Sinatra application that I want to control it from another Ruby application (Launcher), the launcher will simply take info from the user to provide them as arguments to the Sinatra app (because I don't want to pass it using config file), also Launcher app will have control over the Sinatra app to start/stop/restart/change arguments/... those functions can be timed (weekly/monthly/....) or by request of user.
How do I achieve this???
The part to take input from user is cake, but how do I start/stop/... Sinatra server?? I mean it's an app that doesn't exist by it self, also how do I go with timing???
Hope I explained the situation with enough details.
Thanks for your time.
I have a Sinatra application that I want to control it from another Ruby application (Launcher), the launcher will simply take info from the user to provide them as arguments to the Sinatra app (because I don't want to pass it using config file), also Launcher app will have control over the Sinatra app to start/stop/restart/change arguments/... those functions can be timed (weekly/monthly/....) or by request of user.
How do I achieve this???
The part to take input from user is cake, but how do I start/stop/... Sinatra server?? I mean it's an app that doesn't exist by it self, also how do I go with timing???
Hope I explained the situation with enough details.
Thanks for your time.
Have a cool signature? hit me up and I might use it.

