1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 16:28:12 -07:00

fixed the issue with RunCommand output

This commit is contained in:
voddan 2016-01-27 08:13:40 +03:00
parent 0e6ea698ce
commit ae261412f3

View file

@ -53,7 +53,7 @@ open class RunCommand(val command: String) {
val isSuccess = isSuccess(callSucceeded, input, error) val isSuccess = isSuccess(callSucceeded, input, error)
if (isSuccess) { if (isSuccess) {
successCallback(fromStream(process.inputStream)) successCallback(input)
} else { } else {
errorCallback(error + input) errorCallback(error + input)
} }