fix missing argumnet
This commit is contained in:
parent
a85eb88cfd
commit
b5ed40e2f2
|
@ -418,7 +418,7 @@ static int f_popen(lua_State *L) {
|
|||
CloseHandle(pi.hThread);
|
||||
#else
|
||||
FILE* pipe = popen(cmd, "rb");
|
||||
if (pipe == NULL) { luaL_error("Failed to start process"); }
|
||||
if (pipe == NULL) { luaL_error(L, "Failed to start process"); }
|
||||
|
||||
size_t read;
|
||||
while(!feof(pipe)) {
|
||||
|
|
Loading…
Reference in New Issue