mirror of
https://github.com/lxsang/antd-web-apps
synced 2024-11-20 02:18:20 +01:00
set PWD in child process
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
All checks were successful
gitea-sync/antd-web-apps/pipeline/head This commit looks good
This commit is contained in:
parent
a874234925
commit
0dba37d86e
@ -121,7 +121,7 @@ function SystemController:apigateway(...)
|
|||||||
ulib.setenv("LOGNAME", SESSION.user, 1)
|
ulib.setenv("LOGNAME", SESSION.user, 1)
|
||||||
if home then
|
if home then
|
||||||
ulib.setenv("HOME", home, 1)
|
ulib.setenv("HOME", home, 1)
|
||||||
--ulib.setenv("PWD", home,1)
|
ulib.setenv("PWD", home,1)
|
||||||
local paths = ""
|
local paths = ""
|
||||||
if ulib.exists(home.."/bin") then
|
if ulib.exists(home.."/bin") then
|
||||||
paths = home.."/bin:"
|
paths = home.."/bin:"
|
||||||
|
Loading…
Reference in New Issue
Block a user