From 81f94cfcc81beb8a0218506108813ceeb7eb9048 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 3 Feb 2020 23:05:27 +0800 Subject: fix compile errors --- core/src/xmake/process/open.c | 14 ++++++++------ 1 file 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 -- cgit v1.3.1