blob: 7b680ad7cb83acd3eb779f4ac99a1edab3705e7b [file] [log] [blame]
--- runscript_dll.c.old 2021-04-24 16:51:41.647049300 +0530
+++ runscript_dll.c 2021-04-24 16:51:41.571045000 +0530
@@ -17,7 +17,7 @@
char module_name[] = "runscript.dll";
char script_name[] = "runscript.tlu";
-char texlua_name[] = "texlua"; // just a bare name, luatex strips the rest anyway
+char texlua_name[] = "texluajit"; // just a bare name, luatex strips the rest anyway
char subsys_mode[] = "CUI_MODE\n";
char err_env_var[] = "RUNSCRIPT_ERROR_MESSAGE";
char msg_buf[MAX_MSG];
@@ -78,7 +78,7 @@
// call texlua interpreter
// for(int j=0; j<lua_argc; j++){printf("lua_argv[%d]=%s\n",j,lua_argv[j]);}
- k = _spawnvp(_P_WAIT, "texlua", (const char * const *)lua_argv);
+ k = _spawnvp(_P_WAIT, "texluajit", (const char * const *)lua_argv);
if (lua_argv) free(lua_argv);
return k;