Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help 

[Ruby] Control Sinatra application from another application.

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.
Have a cool signature? hit me up and I might use it.
pump
still need help with this, doesn't anyone know how to control scripts from another script???
Have a cool signature? hit me up and I might use it.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Tutorial] by ruka urushibaharaAug 22, 2018 05:37 AM 0 170 Aug 22, 2018 05:37 AM
Last Post: ruka urushibahara
[Source] by Toph BeifongFeb 7, 2016 02:57 AM 2 153 Feb 7, 2016 02:57 AM
Last Post: Toph Beifong
by lord_cipherDec 16, 2015 01:09 PM 0 115 Dec 16, 2015 01:09 PM
Last Post: lord_cipher