From 3f06cbd2086acc7f939d62702974cc6db6c3e681 Mon Sep 17 00:00:00 2001 From: sammyette Date: Sat, 27 Apr 2024 20:11:36 -0400 Subject: [PATCH] fix!: make streams keys almost match sink --- api.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.go b/api.go index 63ab9d9..69e1f7a 100644 --- a/api.go +++ b/api.go @@ -211,10 +211,10 @@ func hlrun(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) { return nil, errors.New("bad argument to run (expected boolean or table, got " + tout.TypeName() + ")") } - handleStream(luastreams.Get(rt.StringValue("stdout")), strms, false) - handleStream(luastreams.Get(rt.StringValue("stderr")), strms, true) + handleStream(luastreams.Get(rt.StringValue("out")), strms, false) + handleStream(luastreams.Get(rt.StringValue("err")), strms, true) - stdinstrm := luastreams.Get(rt.StringValue("stdin")) + stdinstrm := luastreams.Get(rt.StringValue("input")) if !stdinstrm.IsNil() { ud, ok := stdinstrm.TryUserData() if !ok {