summaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorruki <[email protected]>2021-08-12 00:53:46 +0800
committerruki <[email protected]>2021-08-12 00:53:46 +0800
commit4dfaeeb6326cbe3ffebb3355b10895b6939c53d5 (patch)
tree2744af095f4942610407958604f97eb704e8d1a0 /core/src
parenta6f859c98508d1113807cbe71ae29c7ecf6ba474 (diff)
improve process.open
Diffstat (limited to 'core/src')
-rw-r--r--core/src/xmake/process/open.c2
-rw-r--r--core/src/xmake/process/openv.c2
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;