aboutsummaryrefslogtreecommitdiffstats
path: root/main/lua-subprocess/openexception.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/lua-subprocess/openexception.patch')
-rw-r--r--main/lua-subprocess/openexception.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/lua-subprocess/openexception.patch b/main/lua-subprocess/openexception.patch
new file mode 100644
index 0000000000..1a36d05aad
--- /dev/null
+++ b/main/lua-subprocess/openexception.patch
@@ -0,0 +1,11 @@
+--- ./src/lua-subprocess-0.0.20121211/subprocess.c
++++ ./subprocess.c
+@@ -1130,6 +1130,8 @@
+ if (r != 1){
+ return r;
+ }
++ lua_replace(L, 1);
++ lua_settop(L, 1);
+ return proc_wait(L);
+ }
+