    {"time",      os_time},
    {"tmpname",   os_tmpname},
    {NULL, NULL}
-@@ -425,6 +440,638 @@
+@@ -425,6 +440,640 @@
  
  LUAMOD_API int luaopen_os (lua_State *L) {
    luaL_newlib(L, syslib);

 #endif			/* } */
 
 
--- a/src/loslib.c	2020-11-13 10:32:01.000000000 -0500
+++ b/src/loslib.c	2022-02-18 16:17:50.639380353 -0500
@@ -4,6 +4,15 @@
 ** See Copyright Notice in lua.h
 */

+        &p->fstderr, &error)) {
+    p->cstdout = new_channel(p->fstdout, p, p->stdout_cb > 0);
+    p->cstderr = new_channel(p->fstderr, p, p->stderr_cb > 0);
+    g_child_watch_add(p->pid, proc_exited, p);
+    lua_pushnil(L); // no error
+  } else {
+    lua_pushnil(L);
