--- lua/src/loslib.c.orig	2016-08-02 11:27:51.549043853 +0200
+++ lua/src/loslib.c	2016-08-02 11:28:02.893091343 +0200
@@ -35,12 +35,6 @@
 }
 
 
-static int os_execute (lua_State *L) {
-  lua_pushinteger(L, system(luaL_optstring(L, 1, NULL)));
-  return 1;
-}
-
-
 static int os_remove (lua_State *L) {
   const char *filename = luaL_checkstring(L, 1);
   return os_pushresult(L, remove(filename) == 0, filename);
@@ -221,7 +215,6 @@
   {"clock",     os_clock},
   {"date",      os_date},
   {"difftime",  os_difftime},
-  {"execute",   os_execute},
   {"exit",      os_exit},
   {"getenv",    os_getenv},
   {"remove",    os_remove},
--- lua/src/luaconf.h.orig	2016-08-02 11:26:59.264878408 +0200
+++ lua/src/luaconf.h	2016-08-02 11:27:02.136885122 +0200
@@ -665,11 +665,6 @@
 
 #elif defined(LUA_WIN)
 
-#define lua_popen(L,c,m)	((void)L, _popen(c,m))
-#define lua_pclose(L,file)	((void)L, (_pclose(file) != -1))
-
-#else
-
 #define lua_popen(L,c,m)	((void)((void)c, m),  \
 		luaL_error(L, LUA_QL("popen") " not supported"), (FILE*)0)
 #define lua_pclose(L,file)		((void)((void)L, file), 0)
