Passing data between filepro tasks
Mike Schwartz
mschw at athenet.net
Sat Jun 18 06:44:02 PDT 2011
> From Ken’s reply, I gather putenv and getenv will not work from daugher
> task to mother task.
>
> Del
That's my understanding of getenv's and putenvs. All of the env variables in the daughter's workspace die when the daughter task ends. The daughter can read any env variables that were set in the mother's environmental workspace, but the daughter can't modify any of them.
Environment work downwards but not upwards. The daughter's environment space dies when the daughter task dies.
For example, the daughter process could start a granddaughter process, and the granddaughter's workspace could "getenv" all the "putenvs" that were done in either the mother's or grandmother's workspace. But the granddaughter task can't putenv any info backwards up into the mother's or daughters workspace.
Mike Schwartz
More information about the Filepro-list
mailing list