![]() |
|
[Help] [Ruby] Control Sinatra application from another application. - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Coders Lounge (https://hackforums.net/forumdisplay.php?fid=5) +---- Thread: [Help] [Ruby] Control Sinatra application from another application. (/showthread.php?tid=4676097) |
[Ruby] Control Sinatra application from another application. - severos - Feb 8, 2015 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. * - severos - Feb 10, 2015 pump still need help with this, doesn't anyone know how to control scripts from another script??? |