def __call__(self, input_, persistent_level=2, *args, **kwargs):
        """ This function is to be called by external script for
         executing shell commands """
        worker = self.runtime.run(input_, persistent_level=persistent_level, *args, **kwargs)
        worker.join()
        return worker
 This function is to be called by external script for
         executing shell commands 
core.py