[Buildbot-devel] env variables from last step

Dustin J. Mitchell dustin at v.igoro.us
Fri Nov 7 01:33:12 UTC 2014


Does this executable run some other tool in that environment?  In a
typical POSIX environment sense, there's no way for an executable to
affect the environment variables of the process that invoked it.  For
example, if I write a Python script setvar.py with

import os.environ
os.environ['SNARS'] = 'FOO'

then

$ SNARS=BAR
$ echo $SNARS
BAR
$ python setvar.py
$ echo $SNARS
BAR

So I think I'll need to konw more about what "sets for me many env
variables" means

Dustin

On Wed, Nov 5, 2014 at 7:08 AM, Nachaat Hassis <nachaat05 at yahoo.fr> wrote:
> Hello,
> im facing this problem:
> I have an executable which sets for me many env variables (can't change that
> since its a tool which comes with a workbench).
> is there a way to execute that executable and run the next step in the same
> env?
>
> thanks for your help,
> cheers.
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>




More information about the devel mailing list