Make kiwmi:spawn return the pid
This commit is contained in:
parent
06efda3a03
commit
4c72a91afe
1 changed files with 3 additions and 1 deletions
|
@ -93,7 +93,9 @@ l_kiwmi_server_spawn(lua_State *L)
|
|||
_exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
return 0;
|
||||
lua_pushinteger(L, pid);
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in a new issue