情况:
script1(用python编写)从ConEmu运行并设置
SQLPATH
(global
,使用setx /M
命令)sqlplus
比从运行(使用SQLPATH
环境变量)的 ConEmu 运行 script2(用 python 编写)
SQLPATH
只有当我运行它时, script2 才能得到。
ConEmuC /export PATH
这告诉
ConEmuC: can't export environment to PID=4124, check < Inject ConEmuHk >
当我尝试注入ConEmuHk.dll时, python 进程意外结束。
在这种情况下如何使 script2 使用SQLPATH
?