diff options
| author | ruki <[email protected]> | 2020-05-12 22:49:37 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-05-12 10:57:43 +0800 |
| commit | f1775e8c526d520d22c65337c4eead5014deb8c5 (patch) | |
| tree | 2201b2eab744bda4e81b6d21a9270aaec24a2ce1 /core/src | |
| parent | 3d9eda6bf206d4bbcccc840c1f3ba477aefcbfc5 (diff) | |
fix process.openv with detach
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/process/openv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/xmake/process/openv.c b/core/src/xmake/process/openv.c index 2eeb35491..4ec2399fc 100644 --- a/core/src/xmake/process/openv.c +++ b/core/src/xmake/process/openv.c @@ -106,7 +106,7 @@ tb_int_t xm_process_openv(lua_State* lua) { // is detached? lua_pushstring(lua, "detach"); - lua_gettable(lua, 2); + lua_gettable(lua, 3); if (lua_toboolean(lua, -1)) attr.flags |= TB_PROCESS_FLAG_DETACH; lua_pop(lua, 1); |
