Leon K
02/27/2020, 1:33 PMProcess that gives me both inputStream and errorStream (stdout and stderr respectively), and I need to log the output's of both as soon as they come in. what's the best way to handle that? I guess just doing inputStream.bufferedReader().forEachLine {...} would block and thus not allow stderr to be handled, thus blocking the process
Any ideas?spand
02/27/2020, 1:53 PMLeon K
02/27/2020, 1:56 PMspand
02/27/2020, 2:00 PMspand
02/27/2020, 2:00 PMspand
02/27/2020, 2:01 PMDennis
02/27/2020, 3:48 PMDennis
02/27/2020, 3:49 PM