Thank you for all the replies.  Now I understand why.
Here is my problem.  I have a script (written in REXX, a interpreted
scripting language) that need to read a string created by a C program.
Currently, I use a temporary file.  The C code writes the string to a file
and then latter the script will read it.  I hope to simplify things by using
an environment variable, but it does not seem to be working.   What would
you do to solve this problem?

Regards,
Nemo


----- Original Message -----
From: "Alan Peery" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 09, 2002 3:12 AM
Subject: Re: How to modify evironment variables in a C program

>
> As designed.  If any child program could alter the values of the
environment
> setting in their parent process, chaos could ensue.  Imagine for a moment
that
> I convince you to play my game called "rogue"--and then change your
session so
> that your path is altered to find different commands.
>
> Try "man sh", then search for "eval" within the man page.
>
> Alan
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to