Quantcast

Getenv problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Getenv problem

brennion
Getenv problem

Hi,

I have in my program a function that check the environment variable "NET_HOSTNAME" to get the hostname.
The problem is that the return value is Null, but when I look in TS with "set | grep NET_HOSTNAME", the variable is SET !

And when I make manually an "export NET_HOSTNAME='blabla' " then the program is geting the proper value ??!

Any Idea ?

Mit freundlichem Gruss

BRENNION S├ębastien
EDV-Abteilung
B├╝rstner GmbH
Weststr. 33, 77694 Kehl
Tel:  +49 (0) 7851/85 216
Fax: +49 (0) 7851/855216
[hidden email]


Loading...