From d513d001f4ea9614a8dd36bec4f572148583ae71 Mon Sep 17 00:00:00 2001 From: "aiyion.prime" Date: Thu, 15 Jul 2021 09:11:51 +0200 Subject: [PATCH] fixup! gluon-core: implement popen3() in gluon/util.lua --- package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua index ead1d844..10ca582f 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua @@ -208,6 +208,7 @@ M.subprocess.PIPE = 1 -- Execute a program found using command PATH search, like the shell. -- Return the pid, as well as the I/O streams as pipes or nil on error. function M.subprocess.popen(path, argt, options) + argt = argt or {} local childfds = {} local parentfds = {} local stdiostreams = {stdin = 0, stdout = 1, stderr = 2}