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 In the script report ENV and parse that in the caller
You might get some ideas on how to do that from [link|http://www.perlmonks.org/index.pl?node_id=33628|this hack] I wrote for figuring out your login environment.

Cheers,
Ben
"good ideas and bad code build communities, the other three combinations do not"
- [link|http://archives.real-time.com/pipermail/cocoon-devel/2000-October/003023.html|Stefano Mazzocchi]
New Can't do that.
We don't control the script that is being called. The rest looks good, though. Thanks, I'll pass it on.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
Expand Edited by admin May 12, 2003, 05:46:50 PM EDT
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..."
New WAG
call a perl module calle expect,
call it get what you want return processing to the shell\\
long way around
thanx,
bill
will work for cash and other incentives [link|http://home.tampabay.rr.com/boxley/resume/Resume.html|skill set]

questions, help? [link|mailto:pappas@catholic.org|email pappas at catholic.org]

As the Poets have mournfully sung.
Death takes the innocent young,
The rolling in money,
the screamingly funny,
And those who are very well hung.
W.H. Auden
     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)

It's watching you from across the way...
91 ms