summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-03 23:05:27 +0800
committerruki <[email protected]>2020-02-07 22:45:56 +0800
commit81f94cfcc81beb8a0218506108813ceeb7eb9048 (patch)
treee4298ad6e41e74d10cd7edf8806374a4d366c367 /core/src
parent33797f692bfe78c58f82bafbf40f36640c6fdf13 (diff)
fix compile errors
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/process/open.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/core/src/xmake/process/open.c b/core/src/xmake/process/open.c
index 2f45b5c6f..5ab60957a 100644
--- a/core/src/xmake/process/open.c
+++ b/core/src/xmake/process/open.c
@@ -52,12 +52,14 @@ tb_int_t xm_process_open(lua_State* lua)
tb_process_attr_t attr = {0};
// get option arguments
- tb_size_t envn = 0;
- tb_char_t const* envs[256] = {0};
- tb_char_t const* outpath = tb_null;
- tb_char_t const* errpath = tb_null;
- xm_io_file_t* outfile = tb_null;
- xm_io_file_t* errfile = tb_null;
+ tb_size_t envn = 0;
+ tb_char_t const* envs[256] = {0};
+ tb_char_t const* outpath = tb_null;
+ tb_char_t const* errpath = tb_null;
+ xm_io_file_t* outfile = tb_null;
+ xm_io_file_t* errfile = tb_null;
+ tb_pipe_file_ref_t outpipe = tb_null;
+ tb_pipe_file_ref_t errpipe = tb_null;
if (lua_istable(lua, 2))
{
// get outpath