diff options
| m--------- | core/src/tbox/tbox | 0 | ||||
| -rw-r--r-- | xmake/modules/private/service/remote_build/server_session.lua | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core/src/tbox/tbox b/core/src/tbox/tbox -Subproject a7af6211cc19a9c5dce0f2f95299d894bda1a8e +Subproject e95f652c85796f1d707ce59786cdc061ed99dbb diff --git a/xmake/modules/private/service/remote_build/server_session.lua b/xmake/modules/private/service/remote_build/server_session.lua index 7aa2825c0..a9347c0c4 100644 --- a/xmake/modules/private/service/remote_build/server_session.lua +++ b/xmake/modules/private/service/remote_build/server_session.lua @@ -259,7 +259,7 @@ function server_session:runcmd(respmsg) if os.isfile(path.join(self:xmake_sourcedir(), "core", "main.lua")) then xmakesrc = self:xmake_sourcedir() end - os.execv(program, argv, {curdir = self:sourcedir(), stdout = stdout_wpipe, stdin = stdin_rpipe, + os.execv(program, argv, {curdir = self:sourcedir(), stdout = stdout_wpipe, stderr = stdout_wpipe, stdin = stdin_rpipe, envs = {XMAKE_IN_SERVICE = "true", XMAKE_PROGRAM_DIR = xmakesrc}}) stdin_rpipe:close() stdout_wpipe:close() |
