Link to home
Start Free TrialLog in
Avatar of pla
pla

asked on

Environment Variable from C program

I would like to export a shell variables from a C program but
when program exits variable is not set. Is somebody has an idea ?
ASKER CERTIFIED SOLUTION
Avatar of xilef
xilef

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It's not easy, but it's not impossible.
exec program :-)
(of course you need additional hacking in your C code to get
work, even as one would expect it working)