I'm trying to test for the java prog exiting unexpetidly cause what happens is, the java prog dies then @ the next call to gets it's probably reading -1 or something and it hangs, cpu hits 100% and has to be killed. Is the only way round this to build my own gets proc and reload the java prog when i...