What is the nicest way to read the output (i.e. via System.out.println) of a Java app which is called from Python with
subprocess.Popen("java MyClass", shell=True)
without writing and reading a file? (Using Jython etc is not a possible solution)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…