Re: very basic question
[prev]
[thread]
[next]
[Date index for 2005/03/14]
On Thu, Mar 10, 2005 at 02:43:44PM -0600, Jain, Abhay K, ALABS wrote:
> I must apologize if it is not directly relevant to mod-perl.
> I have tried to search google and other places but no luck.
> As I had mentioned I have apache built with mod-perl 2.
> Some old cgi scripts were written in ksh and use of set -x
> produced complete output in browser window under Netscape.
> While Apache seem to ignore stderr. Is there any way
> I can get that output sent to the browser under Apache. Thanks.
If your question can be restated thusly:
How can I cause my ksh scripts to send stderr to stdout?
You can fake it thusly; add this early on in your script:
exec 2>&1
--
Brian Reichert <reichert@xxxxxxx.xxx>
55 Crystal Ave. #286 Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large
 |
 |
Re: very basic question
Brian Reichert 18:24 on 14 Mar 2005
|