[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting and adding environment variables



I'm writing a program where I need to run a script and add environment =
variables on the fly, from with in various binarys.  I've tried to use =
the setenv( "JUNK", "test_string", 1 ) function, but after the program =
exits doing a echo $JUNK yields nothing.

Any one got any Ideas.

Thanks
David