I'm currently using Jython embedded in an application and from it I am using a subprocess call to call a Python script that relies on libraries that aren't compatible with Jython to do calculations and return data that will be used inside the application.
Right now I can confirm that ans = subprocess.check_output(command)
does get me the correct answer (which is a tuple of 3 large nxn arrays) as a string, which i could parse and store in arrays or a dictionary, but it's incredibly slow to do this.
Surely there is a way to pass object between python scripts correct? It appears my Jython has access to pickle, so I'm leaning towards that direction if someone doesn't have a better idea.