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

Merge pull request #106 from voddan/FIX_runCommand_output

fixed an issue with RunCommand output
This commit is contained in:
Cedric Beust 2016-01-26 21:30:54 -08:00
commit 4ba62269c5

View file

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