java通过cmd命令调用python程序时,因为python输出的缓冲机制,需要在print后面加sys.std.flash()以消除其自身的输出缓冲
参考:http://www.cnblogs.com/dengfanxin/archive/2009/08/06/javaExternalProcess.html
java通过cmd命令调用python程序时,因为python输出的缓冲机制,需要在print后面加sys.std.flash()以消除其自身的输出缓冲
参考:http://www.cnblogs.com/dengfanxin/archive/2009/08/06/javaExternalProcess.html