# Re: export environment variable

**URL:** <https://www.ruby-forum.com/t/re-export-environment-variable/71038>\
**Category:** Ruby\
**Created:** [October 4, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/re-export-environment-variable/71038 "2006-10-04T21:31:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gennady\_B](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c57346/32.png) [@Gennady\_B](https://www.ruby-forum.com/u/Gennady_B)\
**Post date:** [October 4, 2006, 9:31pm UTC](https://www.ruby-forum.com/t/re-export-environment-variable/71038/1 "2006-10-04T21:31:11Z")

</div>

Mohammad K. wrote:

> This is going to be local to the script.  
> I want something like, global.

It will be for this script and all processes it spawns. Exactly how  
shell does. And this is as global as you can ever achieve in Unix.

Gennady.
