Work between multiple processes

zxpatric zxpatric at gmail.com
Tue Jan 3 21:14:10 EST 2017


Hi everyone,

I ran into a case that I need to create a work process of an application 
(Jython so has to call using java.exe) which will collect the data based on 
what main process indicates.

(1) I tried multiprocessing package, no luck. Java.exe can't be called from 
Process class?

(2) I tried subprocess. subprocess.communicate function will wait for the work 
process to terminate so to return.


either (1) or (2) doesn't work out well. Please suggest.  Global system queue?

Thanks,
Patrick.




More information about the Python-list mailing list