mirror of
https://github.com/Hilbis/Hilbish
synced 2025-04-20 04:23:23 +00:00
fix: hilbish.run return exitCode instead of runner output table
This commit is contained in:
parent
f64229b52c
commit
d002c82271
@ -44,7 +44,7 @@ function hilbish.run(cmd, streams)
|
||||
end
|
||||
|
||||
local out = hilbish.snail:run(cmd, {sinks = sinks})
|
||||
local returns = {out}
|
||||
local returns = {out.exitCode}
|
||||
|
||||
if type(streams) == 'boolean' and not streams then
|
||||
table.insert(returns, sinks.out:readAll())
|
||||
|
Loading…
x
Reference in New Issue
Block a user