IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New How about writing a wrapper for the script that sources it?
something along the lines of
\n. origScript.sh\necho $env1\necho $env2\n
--

Less Is More. In my book, About Face, I introduce over 50 powerful design axioms. This is one of them.

--Alan Cooper. The Inmates Are Running the Asylum
New It's a CGI script
that needs to call a setenv script.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New I guess I don't know CGI ...
What is setenv script?
--

Less Is More. In my book, About Face, I introduce over 50 powerful design axioms. This is one of them.

--Alan Cooper. The Inmates Are Running the Asylum
New bash script?
New Perl CGI calling base environment script.
The idea is to use a standard system env. setup script in a cgi program to set up things like database SID, etc.

I think he finished his work around a good month ago, though, so I'm a little bemused by the attention being lavished here now. :-)
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
     Perl, system, backticks, and environment variables - (admin) - (15)
         Check out %ENV - (Yendor) - (3)
             %ENV not set by subprocesses. - (admin) - (2)
                 Re: %ENV not set by subprocesses. - (jake123) - (1)
                     That assumes the values aren't calculated. -NT - (admin)
         Perhaps I'm dense. - (Another Scott) - (1)
             This is a CGI perl script - (admin)
         Parent-child environment inheritence - (kmself)
         In the script report ENV and parse that in the caller - (ben_tilly) - (7)
             Can't do that. - (admin) - (6)
                 How about writing a wrapper for the script that sources it? - (Arkadiy) - (4)
                     It's a CGI script - (admin) - (3)
                         I guess I don't know CGI ... - (Arkadiy) - (2)
                             bash script? -NT - (ChrisR) - (1)
                                 Perl CGI calling base environment script. - (admin)
                 WAG - (boxley)

I don't know about you, but that's the lifestyle I'm striving for.
65 ms