Skip to content

Commit

Permalink
chore: added error redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
alemazzo committed Nov 30, 2024
1 parent f66cd79 commit 62842b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ open class BashCommandExecutor : CommandExecutor {
if (workingDir != null) {
processBuilder.directory(File(workingDir))
}
processBuilder.redirectErrorStream(true)
val process = processBuilder.start()

val outputBuilder = StringBuilder()
val outputThread = Thread {
process.inputStream.bufferedReader().useLines { lines ->
Expand Down

0 comments on commit 62842b8

Please sign in to comment.