diff options
| author | ruki <[email protected]> | 2021-08-12 00:53:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-12 00:53:46 +0800 |
| commit | 4dfaeeb6326cbe3ffebb3355b10895b6939c53d5 (patch) | |
| tree | 2744af095f4942610407958604f97eb704e8d1a0 /core/src | |
| parent | a6f859c98508d1113807cbe71ae29c7ecf6ba474 (diff) | |
improve process.open
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/process/open.c | 2 | ||||
| -rw-r--r-- | core/src/xmake/process/openv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/process/open.c b/core/src/xmake/process/open.c index 82ea5b94f..c35d9e3bf 100644 --- a/core/src/xmake/process/open.c +++ b/core/src/xmake/process/open.c @@ -56,7 +56,7 @@ tb_int_t xm_process_open(lua_State* lua) // get option arguments tb_size_t envn = 0; - tb_char_t const* envs[256] = {0}; + tb_char_t const* envs[1024] = {0}; tb_char_t const* inpath = tb_null; tb_char_t const* outpath = tb_null; tb_char_t const* errpath = tb_null; diff --git a/core/src/xmake/process/openv.c b/core/src/xmake/process/openv.c index 02ccb49e7..3ec887f1e 100644 --- a/core/src/xmake/process/openv.c +++ b/core/src/xmake/process/openv.c @@ -98,7 +98,7 @@ tb_int_t xm_process_openv(lua_State* lua) // get option arguments tb_size_t envn = 0; - tb_char_t const* envs[256] = {0}; + tb_char_t const* envs[1024] = {0}; tb_char_t const* inpath = tb_null; tb_char_t const* outpath = tb_null; tb_char_t const* errpath = tb_null; |
