[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: Is it possible to access UNIX environment variables from an S QR p rogram?



use getenv

like:

$var = getenv('SHELL')

Reinier de Ruiter
Programmer/Analyst
Apollo Group, University of Phoenix
Phoenix, Arizona
tel:480-557-1158
email: reinier.deruiter@apollogrp.edu



-----Original Message-----
From: Ryan, Joseph A. [mailto:jryan@JHANCOCK.COM]
Sent: Wednesday, October 06, 1999 10:40 AM
To: Multiple recipients of list SQR-USERS
Subject: Is it possible to access UNIX environment variables from an SQR
p rogram?


Hello,

        Is it possible to access UNIX environment variables from an SQR
program? If so, how might this be done? I am looking to access things like
PATH, SHELL, and any other user-defined environment variable.

thank you!