You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Creating a more general Java class that handles threading for the streams, using runtime.exec
Polling is a terrible hack. Worse, it seems that when the process exits, the io streams are closed. Since polling is relatively infrequent, this means that io can be lost if the process exits in between polls. Really seems like I need to wrap up a Java class with threading to deal with the streams