Executing a jpython script in another process

Carlos Ors cors at recercai.com
Wed Oct 13 15:44:40 EDT 1999


I'm working with Jpython 1.1 beta 3
I'm interested in executing a jpython script in a new process so that a
System.exit(0) didn't close the main aplication.

I have a instance of PythonInterpreter named theInterp.
I do:
       PythonInterpreter theInterp= new PythonInterpreter()

      theInterp.exec("<my script code>")

I want to call the exec method making a new process and that the main
process
get the results of the execution.











More information about the Python-list mailing list