We have a C++ web service that helps manage and run scripts for users. We have to offer 2 APIs:
RegisterScript API: Users can register scripts for a variety of languages(Python, Ruby, JavaScript etc.) through this api
RunScript API: Users can run their previously registered scripts through this API
Right now we’re not sure how we would go about this, any pointers would be nice but we’d prefer a solution that:
- Doesn’t have to start an OS process for every RunScript invocation
- Doesn’t rely on running shell commands from C++
- Preferably there’s an open source library/framework with support for multiple languages out of the box?
Thanks! Jessica