Meteor Server invoking long running Python process, communication?

Hello All!

I have a Meteor app, which is using zerorpc to invoke some functions on a python server, most of these are long running (10mins+) and I would like to send status data back to the meteor server and display this via the UI - in short stream the stdout/stderr.

I do not want to run the python server as a child process due to its computational overhead.

I have tried to make the meteor server a zeromq client and connect to publishings from the python server - but it seems Meteor does not allow me to do this, as the server restarts after each successful connection.

How would you suggest to best achieve this?