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:
parent
0e6ea698ce
commit
ae261412f3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue