Java process.getInputStream() has nothing to read, deadlocks child
问题 I am having an issue with some process wrapping, and it's only occurring in Windows XP. This code works perfectly in Windows 7. I'm really stumped as to why the streams are empty in XP. I've also tried using the String[] version of Process.Exec() and it made no difference. I am using the following class to read from the process' STDOUT and STDERR (an instance for each stream): import java.util.*; import java.io.*; public class ThreadedStreamReader extends Thread{ InputStream in; Queue