Once more into the breach...
PTY version had hang errors, so switching to what looks like a cool library that does equiv of what our original code did using apache commons-exec, but without requiring that java lib.