FAQ Database Discussion Community

'Communicate' in Python does not work

I'm trying to write a python program to test a java program that takes input from stdin using Scanner. All other posts point to using communicate with popen, but for me it absolutely does not work. When i run my python program, it just calls popen and then stops while...