I just read your question again; I misunderstood it the
first time, so please ignore my response.

My bad.

----- Original Message ----- 
From: "Paul Lussier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 05, 2001 11:27 AM
Subject: [Boston.pm] Safe execution of 1 perl prog from another?


> 
> Hi all,
> 
> I have a situation where I need to exec a command-line based perl 
> program from a CGI wrapper.  I want to do this safely, but I also 
> want to see the same output from the command line program in the
> browser that I would normally.
> 
> I'm not quite sure how I should go about doing this, and have it safe 
> as well.  I'm assuming the best option is using the list form of 
> system()?  If so, how do I get STDERR to the browser as well?
> 
> Will 'fatalsToBrowser' accomplish this?  Currently stderr seems to 
> end up in the apache error log.
> 
> Thanks for you input.
> 
> -- 
> 
> Seeya,
> Paul
> ----
> 
>   God Bless America!
> 
> ...we don't need to be perfect to be the best around,
> and we never stop trying to be better. 
>        Tom Clancy, The Bear and The Dragon
> 
> 
> 

Reply via email to