来自英文社区的问题: 是什么决定$ ZF(-1)的环境?
你好,
我在用一个类方法中使用$ ZF(-1)来唤起一个CSP 页面。
什么因素决定了产生过程的环境?如果使用$ ZF(-1,“ echo hello world> output.txt”),则生成的文件归cacheusr:cacheusr拥有。但是,当我使用$ ZF(-1,“ printenv> output.txt”)时,无论我在运行Web应用程序时使用哪个Cache用户名登录,环境都是来自我的个人unix帐户。
谢谢
What determines the environment for $ZF(-1)?
Hello,
I'm using $ZF(-1) in a class method which will be invoked from a csp page.
What determines the environment of the spawned process? If I use $ZF(-1,"echo hello world > output.txt"), the resulting file is owned by cacheusr:cacheusr. However, when I use $ZF(-1,"printenv > output.txt"), the environment is from my personal unix account, no matter which Cache username I'm logged in under when running the web application.
Thanks
产品版本: Caché 2017.1
查看原帖 由 @Virginia Rogers 撰写