Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.1.0-beta
-
None
-
None
Description
Shell.runCommand starts an error stream handling thread and normally joins with it before closing the error stream. However if parseExecResult throws an exception (e.g.: like Stat.parseExecResult does for FileNotFoundException) then the error thread is not joined and the error stream can be closed before the error stream handling thread is finished. This causes the error stream handling thread to log an exception backtrace for a "normal" situation.