Java Process streams
问题 I have a problem with interacting with some terminal application (in my situation it is openSSL). I have a command to send and then this application wants password and reply given password. My code doesn't work. I mean that I don't see any output from it. For testing I've made also simple application which is waiting for two strings to type and running it from my Java code works. Have you any suggestions? ProcessBuilder pb = new ProcessBuilder("openssl.exe"); Process process = pb.start();